CVE-2008-2337

IMGallery 2.5 - SQL Injection via kategoria or id_phot Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-2337. PoCs published by cOndemned.

AI-analyzed exploit summary This exploit demonstrates SQL injection vulnerabilities in IMGallery 2.5 by injecting malicious SQL queries into the 'start', 'kategoria', and 'id_phot' parameters. It retrieves sensitive information (passwords) from the 'imgallery_hasla' table.

Description

Multiple SQL injection vulnerabilities in IMGallery 2.5, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the (1) kategoria parameter to (a) galeria.php and the (2) id_phot parameter to (b) popup/koment.php and (c) popup/opis.php in, different vectors than CVE-2006-3163.

Exploits (1)

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

This exploit demonstrates SQL injection vulnerabilities in IMGallery 2.5 by injecting malicious SQL queries into the 'start', 'kategoria', and 'id_phot' parameters. It retrieves sensitive information (passwords) from the 'imgallery_hasla' table.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: IMGallery 2.5
No auth needed
Prerequisites: magic_quotes_gpc = off
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/42474
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/29250
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/5631

Scores

EPSS 0.0100
EPSS Percentile 58.2%

Details

CWE
CWE-89
Status published
Products (1)
imgallery/imgallery 2.5
Published May 19, 2008
Tracked Since Feb 18, 2026