Coppermine Photo Gallery 1.x imageObjectIM.class.php 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.
5.0$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in Coppermine Photo Gallery 1.x. The impacted element is an unknown function of the file imageObjectIM.class.php. This manipulation causes sql injection. This vulnerability is handled as CVE-2008-0504. The attack can be initiated remotely. Additionally, an exploit exists. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in Coppermine Photo Gallery 1.x (Photo Gallery Software). It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file imageObjectIM.class.php. The manipulation with an unknown input leads to a sql injection vulnerability. The CWE definition for the vulnerability is CWE-89. The product 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Multiple SQL injection vulnerabilities in Coppermine Photo Gallery (CPG) before 1.4.15 allow remote authen ticated administrators to execute arbitrary SQL commands via the (1) albumid, (2) startpic, and (3) numpics parameters to util.php; and (4) cid_array parameter to reviewcom.php.

The weakness was released 01/30/2008 by Janek Vind (Website). It is possible to read the advisory at coppermine-gallery.net. This vulnerability is known as CVE-2008-0504 since 01/31/2008. The attack can be launched remotely. The successful exploitation needs a single authentication. It demands that the victim is doing some kind of user interaction. Technical details and also a public exploit are known. The attack technique deployed by this issue is T1505 according to MITRE ATT&CK.

It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. By approaching the search of inurl:imageObjectIM.class.php it is possible to find vulnerable targets with Google Hacking. 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 coppermine-gallery.net. 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 Exploit-DB (4950), Tenable (31183), SecurityFocus (BID 27509†), Secunia (SA28682†) and SecurityTracker (ID 1019285†). Entries connected to this vulnerability are available at VDB-3570, VDB-3572, VDB-40767 and VDB-40766. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

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

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: coppermine-gallery.net

Timelineinfo

01/29/2008 🔍
01/30/2008 +1 days 🔍
01/30/2008 +0 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 🔍
05/11/2025 +6284 days 🔍

Sourcesinfo

Vendor: coppermine-gallery.net

Advisory: coppermine-gallery.net
Researcher: Janek Vind
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-0504 (🔍)
GCVE (CVE): GCVE-0-2008-0504
GCVE (VulDB): GCVE-100-3571
SecurityFocus: 27509 - Coppermine Photo Gallery Multiple SQL Injection Vulnerabilities
Secunia: 28682 - Coppermine Photo Gallery Multiple Vulnerabilities, Highly Critical
SecurityTracker: 1019285
Vupen: ADV-2008-0367

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 02/01/2008 13:51
Updated: 05/11/2025 05:31
Changes: 02/01/2008 13:51 (85), 04/28/2019 17:20 (2), 05/11/2025 05:31 (20)
Complete: 🔍
Committer: stfr
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!