Coppermine Photo Gallery index.php file Parameter Local File Inclusion

high Nessus Plugin ID 21240

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. Regardless of PHP's 'register_globals' setting, 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 Coppermine version 1.4.5 or later.

See Also

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

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

Plugin Details

Severity: High

ID: 21240

File Name: coppermine_gallery_file_file_include.nasl

Version: 1.20

Type: remote

Family: CGI abuses

Published: 4/17/2006

Updated: 6/1/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.8

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

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 4/14/2006

Reference Information

CVE: CVE-2006-1909

BID: 17570