CVE-2008-0504

Coppermine Photo Gallery < 1.4.15 - Authenticated SQL Injection via Album Parameters

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-0504. PoCs published by bazik.

AI-analyzed exploit summary This exploit targets a SQL injection vulnerability in Coppermine Gallery 1.4.10, leveraging deserialization and cookie manipulation to write a PHP web shell to the target system. It automates the process of retrieving necessary paths and prefixes before executing the payload.

Description

Multiple SQL injection vulnerabilities in Coppermine Photo Gallery (CPG) before 1.4.15 allow remote authenticated 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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by bazik · phpwebappsphp
https://www.exploit-db.com/exploits/4950

This exploit targets a SQL injection vulnerability in Coppermine Gallery 1.4.10, leveraging deserialization and cookie manipulation to write a PHP web shell to the target system. It automates the process of retrieving necessary paths and prefixes before executing the payload.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Moderate
Reliability
Reliable
Target: Coppermine Gallery 1.4.10
No auth needed
Prerequisites: Target must be running Coppermine Gallery 1.4.10 · Album ID must be known or guessable
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/27509
Various Sources x_refsource_misc
http://www.waraxe.us/advisory-66.html
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/487351/100/200/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1019285
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0367
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28682

Scores

EPSS 0.0197
EPSS Percentile 77.8%

Details

CWE
CWE-89
Status published
Products (20)
coppermine-gallery/coppermine_photo_gallery 1.0 (2 CPE variants)
coppermine-gallery/coppermine_photo_gallery 1.1 (2 CPE variants)
coppermine-gallery/coppermine_photo_gallery 1.1.0
coppermine-gallery/coppermine_photo_gallery 1.2
coppermine-gallery/coppermine_photo_gallery 1.2.0 (2 CPE variants)
coppermine-gallery/coppermine_photo_gallery 1.2.1 (3 CPE variants)
coppermine-gallery/coppermine_photo_gallery 1.3.0
coppermine-gallery/coppermine_photo_gallery 1.3.1
coppermine-gallery/coppermine_photo_gallery 1.3.2
coppermine-gallery/coppermine_photo_gallery 1.3.3
... and 10 more
Published Jan 31, 2008
Tracked Since Feb 18, 2026