Coppermine Gallery SQL Injection

High Nessus Network Monitor Plugin ID 2846


The remote host is vulnerable to a SQL Injection attack.


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.


Upgrade to Coppermine greater than 1.3.2.

See Also

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


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


Base Score: 7.3

Temporal Score: 7


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

Reference Information

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

BID: 13289, 13287