CVE-2008-0259

minimal_gallery 0.8 - Path Traversal via thumbcat or thumb Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-0259. PoCs published by Houssamix.

AI-analyzed exploit summary The exploit demonstrates a directory traversal vulnerability in minimal Gallery 0.8 via the 'thumbcat' and 'thumb' parameters in mg_thumbs.php, allowing remote file disclosure. The vulnerable code directly uses user-controlled GET parameters in a readfile() call without sanitization.

Description

Multiple directory traversal vulnerabilities in _mg/php/mg_thumbs.php in minimal Gallery 0.8 allow remote attackers to read arbitrary files via a .. (dot dot) in the (1) thumbcat and (2) thumb parameters.

Exploits (1)

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

The exploit demonstrates a directory traversal vulnerability in minimal Gallery 0.8 via the 'thumbcat' and 'thumb' parameters in mg_thumbs.php, allowing remote file disclosure. The vulnerable code directly uses user-controlled GET parameters in a readfile() call without sanitization.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: minimal Gallery 0.8
No auth needed
Prerequisites: Target running minimal Gallery 0.8 · Access to the mg_thumbs.php endpoint
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/27265
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4902
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/39649
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28391

Scores

EPSS 0.0226
EPSS Percentile 80.7%

Details

CWE
CWE-22
Status published
Products (1)
minimal_design/minimal_gallery 0.8
Published Jan 15, 2008
Tracked Since Feb 18, 2026