Coppermine Photo Gallery < 1.4.11 Album Password Cookie SQL Injection

high Nessus Network Monitor Plugin ID 4351

Synopsis

The remote web server contains a PHP application that is prone to a SQL injection attack.

Description

The version of Coppermine installed on the remote host fails to sanitize user-supplied input to the album password cookie before using it in a database query in the 'get_private_album_set' function in 'include/functions.inc.php'. Regardless of PHP's 'magic_quotes_gpc' setting, an attacker may be able to exploit this issue to manipulate database queries, leading to disclosure of sensitive information, execution of arbitrary code or attacks against the underlying database.

Solution

Upgrade to version 1.4.11 or higher.

See Also

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

Plugin Details

Severity: High

ID: 4351

Family: CGI

Published: 1/22/2008

Updated: 3/6/2019

Nessus ID: 31137

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.1

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

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 7.1

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

Temporal Vector: CVSS:3.0/E:F/RL:U/RC:X

Vulnerability Information

CPE: cpe:/a:coppermine:coppermine_photo_gallery

Reference Information

CVE: CVE-2007-1107, CVE-2007-3558

BID: 24710, 27372