CVE-2008-1875

Terong PHP Photo Gallery 1.0 - SQL Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-1875. PoCs published by t0pP8uZz.

AI-analyzed exploit summary The exploit demonstrates a SQL injection vulnerability in PHP Photo Gallery 1.0, allowing an attacker to extract admin credentials in plaintext via a crafted UNION-based SQL query.

Description

SQL injection vulnerability in index.php in Terong PHP Photo Gallery (aka Advanced Web Photo Gallery) 1.0 allows remote attackers to execute arbitrary SQL commands via the photo_id parameter.

Exploits (1)

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

The exploit demonstrates a SQL injection vulnerability in PHP Photo Gallery 1.0, allowing an attacker to extract admin credentials in plaintext via a crafted UNION-based SQL query.

Classification
Working Poc 100%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: PHP Photo Gallery 1.0
No auth needed
Prerequisites: Access to the vulnerable web application
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/28626
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/29667
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/5364
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/41665

Scores

EPSS 0.0097
EPSS Percentile 57.4%

Details

CWE
CWE-89
Status published
Products (1)
terong/advanced_web_photo_gallery 1.0
Published Apr 17, 2008
Tracked Since Feb 18, 2026