CVE-2008-2501

PHPhotoalbum 0.5 - SQL Injection via Album or PID Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2008-2501. PoCs published by Stack, cOndemned.

AI-analyzed exploit summary This exploit demonstrates a SQL injection vulnerability in PHPhotoalbum's thumbnails.php, allowing an attacker to extract sensitive information such as user credentials and file contents via UNION-based SQLi.

Description

Multiple SQL injection vulnerabilities in PHPhotoalbum 0.5 allow remote attackers to execute arbitrary SQL commands via the (1) album parameter to thumbnails.php and the (2) pid parameter to displayimage.php.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Stack · textwebappsphp
https://www.exploit-db.com/exploits/10590

This exploit demonstrates a SQL injection vulnerability in PHPhotoalbum's thumbnails.php, allowing an attacker to extract sensitive information such as user credentials and file contents via UNION-based SQLi.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: PHPhotoalbum (version not specified)
No auth needed
Prerequisites: Access to the vulnerable PHPhotoalbum instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by cOndemned · textwebappsphp
https://www.exploit-db.com/exploits/5683

This exploit demonstrates SQL injection vulnerabilities in PHPhotoalbum v0.5 by injecting malicious SQL queries into the 'album' and 'pid' parameters, leading to information disclosure such as database version, user, and current database name.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: PHPhotoalbum v0.5
No auth needed
Prerequisites: Target application must be PHPhotoalbum v0.5 · Target must have exposed 'thumbnails.php' or 'displayimage.php' endpoints
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30407
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/42670
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/5683

Scores

EPSS 0.0101
EPSS Percentile 58.5%

Details

CWE
CWE-89
Status published
Products (1)
henning_stoverud/phphotoalbum 0.5
Published May 29, 2008
Tracked Since Feb 18, 2026