Coppermine Photo Gallery < 1.4.5 index.php file Parameter Local File Inclusion

Medium Nessus Network Monitor Plugin ID 3520

Synopsis

The remote web server contains a PHP script that is affected by a local file include issue.

Description

The version of Coppermine Gallery installed on the remote host fails to properly sanitize input to the 'file' parameter of the 'index.php' script before using it in a PHP 'include_once()' function. Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker may be able to exploit this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user ID.

Solution

Upgrade to version 1.4.5 or higher.

See Also

http://coppermine-gallery.net/forum/index.php?topic=30655.0

http://www.securityfocus.com/archive/1/431062/30/0/threaded

Plugin Details

Severity: Medium

ID: 3520

File Name: 3520.prm

Family: CGI

Published: 2004/08/18

Modified: 2016/01/21

Dependencies: 1442

Nessus ID: 21240

Risk Information

Risk Factor: Medium

CVSSv2

Base Score: 5.8

Temporal Score: 4.8

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

CVSSv3

Base Score: 6.3

Temporal Score: 5.9

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

Temporal Vector: CVSS3#E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:coppermine-gallery:coppermine_photo_gallery

Reference Information

CVE: CVE-2006-1909

BID: 17570

OSVDB: 24744