Gallery < 2.0.4 Watermark Function stepOrder Parameter Local File Inclusion

medium Nessus Network Monitor Plugin ID 3472

Synopsis

The remote web server contains a PHP application that is affected by multiple local file include flaws.

Description

The remote host is running Gallery, a web-based photo album application written in PHP. The version of Gallery installed on the remote host fails to sanitize input to the 'stepOrder' parameter of the 'upgrade/index.php' and 'install/index.php' scripts before using it in a PHP 'require()' function. An unauthenticated attacker may be able to exploit this issue to view arbitrary files or to execute arbitrary PHP code on the affected host provided PHP's 'register_globals' setting is enabled.

Solution

Upgrade to version 2.0.4 or higher.

See Also

http://gallery.menalto.com/2.0.4_and_2.1_rc_2a_update

http://www.nessus.org/u?8626cc0e

Plugin Details

Severity: Medium

ID: 3472

Family: CGI

Published: 3/13/2006

Updated: 3/6/2019

Nessus ID: 21040

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:W/RC:X

Vulnerability Information

CPE: cpe:/a:gallery_project:gallery

Reference Information

CVE: CVE-2006-1219

BID: 17051