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

File Name: 3472.prm

Family: CGI

Published: 2006/03/13

Modified: 2016/02/05

Dependencies: 1442

Nessus ID: 21040

Risk Information

Risk Factor: Medium

CVSSv2

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

CVSSv3

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS3#AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

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

Reference Information

CVE: CVE-2006-1219

BID: 17051

OSVDB: 23785