Coppermine Photo Gallery 1.x sql injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in Coppermine Photo Gallery 1.x (Photo Gallery Software). It has been rated as critical. Affected by this issue is some unknown functionality. The manipulation with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability.

The bug was discovered 01/29/2008. The weakness was disclosed 01/30/2008 by Janek Vind (Website). The advisory is shared for download at This vulnerability is handled as CVE-2008-0504 since 01/31/2008. The attack may be launched remotely. A simple authentication is required for exploitation. Successful exploitation requires user interaction by the victim. There are neither technical details nor an exploit publicly available. The MITRE ATT&CK project declares the attack technique as T1505.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 31183 (FreeBSD : coppermine -- multiple vulnerabilities (9f581778-e3d4-11dc-bb89-000bcdc1757a)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l.

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (40054) and Tenable (31183). The entries 3570, 3571, 40767 and 40766 are pretty similar.






  • open-source

CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.0

VulDB Base Score: 5.5
VulDB Temp Score: 5.0
VulDB Vector: 🔍
VulDB Reliability: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
ATT&CK: T1505

Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 31183
Nessus Name: FreeBSD : coppermine -- multiple vulnerabilities (9f581778-e3d4-11dc-bb89-000bcdc1757a)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 60453
OpenVAS Name: FreeBSD Ports: coppermine
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍



01/21/2008 🔍
01/29/2008 +8 days 🔍
01/29/2008 +0 days 🔍
01/30/2008 +1 days 🔍
01/31/2008 +1 days 🔍
01/31/2008 +0 days 🔍
01/31/2008 +0 days 🔍
02/01/2008 +1 days 🔍
02/25/2008 +24 days 🔍
02/26/2008 +1 days 🔍
03/04/2008 +7 days 🔍
08/06/2019 +4172 days 🔍



Researcher: Janek Vind
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-0504 (🔍)
X-Force: 40054
SecurityTracker: 1019285
Vulnerability Center: 17761 - Coppermine Photo Gallery (CPG) < 1.4.15 Multiple SQL Injection Vulnerabilities, Medium
SecurityFocus: 27509 - Coppermine Photo Gallery Multiple SQL Injection Vulnerabilities
Secunia: 28682 - Coppermine Photo Gallery Multiple Vulnerabilities, Highly Critical
OSVDB: 41678 - Coppermine Photo Gallery util.php and reviewcom.php SQL injection
Vupen: ADV-2008-0367

See also: 🔍


Created: 02/01/2008 01:51 PM
Updated: 08/06/2019 09:18 AM
Changes: 02/01/2008 01:51 PM (85), 08/06/2019 09:18 AM (11)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!