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: 2008/01/22

Modified: 2016/01/21

Dependencies: 1442

Nessus ID: 31137

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 7.1

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

Temporal Vector: CVSS2#E:F/RL:U/RC:ND

CVSSv3

Base Score: 7.3

Temporal Score: 7.1

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

Temporal Vector: CVSS3#E:F/RL:U/RC:X

Reference Information

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

BID: 24710, 27372