Coppermine Photo Gallery bridge/coppermine.inc.php Bridge Wizard Session Cookie SQL Injection

high Nessus Plugin ID 31859

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 bridge wizard session cookie before using it in a database query in 'bridge/coppermine.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, bypassing authentication, or attacks against the underlying database.

Solution

Upgrade to Coppermine 1.4.18 or later.

See Also

http://forum.coppermine-gallery.net/index.php/topic,51882.0.html

Plugin Details

Severity: High

ID: 31859

File Name: coppermine_bridgemgr_sql_injection.nasl

Version: 1.19

Type: remote

Family: CGI abuses

Published: 4/14/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: cpe:/a:coppermine:coppermine_photo_gallery

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No known exploits are available

Reference Information

CVE: CVE-2008-1841

BID: 28767

CWE: 89

SECUNIA: 29741