Coppermine Gallery SQL Injection

High Nessus Network Monitor Plugin ID 2846

Synopsis

The remote host is vulnerable to a SQL Injection attack.

Description

The remote host is running CopperMine Gallery, a set of PHP scripts to handle galleries of pictures. There is a flaw in this version of Coppermine Gallery. Specifically, the remote user's cookie is not properly parsed for SQL special characters. An attacker exploiting this flaw would send a malicious cookie to the Coppermine application. Successful exploitation would result in the attacker being able to read and write sensitive database data as well as potentially executing arbitrary code on the remote database.

Solution

Upgrade to Coppermine greater than 1.3.2.

See Also

http://www.waraxe.us/advisory-42.html

http://marc.info/?l=bugtraq&m=111402186304179&w=2

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

Plugin Details

Severity: High

ID: 2846

File Name: 2846.prm

Family: CGI

Published: 2005/04/20

Modified: 2016/01/15

Dependencies: 1442

Nessus ID: 18101

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS2#E:H/RL:OF/RC:C

CVSSv3

Base Score: 7.3

Temporal Score: 7

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

Temporal Vector: CVSS3#E:H/RL:O/RC:C

Reference Information

CVE: CVE-2005-1226, CVE-2005-1225

BID: 13289, 13287