Gallery < 2.0.4 Watermark Function stepOrder Parameter Local File Inclusion

Medium Nessus Network Monitor Plugin ID 3472


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


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.


Upgrade to version 2.0.4 or higher.

See Also

Plugin Details

Severity: Medium

ID: 3472

File Name: 3472.prm

Family: CGI

Published: 2006/03/13

Modified: 2016/02/05

Dependencies: 1442

Nessus ID: 21040

Risk Information

Risk Factor: Medium


Base Score: 5

Temporal Score: 4.3

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

Temporal Vector: CVSS2#E:POC/RL:W/RC:ND


Base Score: 5.3

Temporal Score: 4.8


Temporal Vector: CVSS3#E:P/RL:W/RC:X

Reference Information

CVE: CVE-2006-1219

BID: 17051

OSVDB: 23785