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

Family: CGI

Published: 8/18/2004

Updated: 3/6/2019

Nessus ID: 21240

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.8

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

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.9

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

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

Reference Information

CVE: CVE-2006-1909

BID: 17570