CVE-2008-0513

phpcms 1.2.2 - Path Traversal via File Parameter in parser.php

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-0513. PoCs published by DSecRG.

AI-analyzed exploit summary This exploit leverages a null byte injection vulnerability in phpCMS 1.2.2 to disclose arbitrary files, including sensitive configuration files containing admin passwords. The vulnerability exists in the `class.cache_phpcms.php` file, where improper file extension validation allows attackers to bypass checks and read files outside the intended directory.

Description

Directory traversal vulnerability in parser/include/class.cache_phpcms.php in phpCMS 1.2.2 allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter to parser/parser.php, as demonstrated by a filename ending with %00.gif, a different vector than CVE-2005-1840.

Exploits (1)

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

This exploit leverages a null byte injection vulnerability in phpCMS 1.2.2 to disclose arbitrary files, including sensitive configuration files containing admin passwords. The vulnerability exists in the `class.cache_phpcms.php` file, where improper file extension validation allows attackers to bypass checks and read files outside the intended directory.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: phpCMS 1.2.2
No auth needed
Prerequisites: Access to the target web server · Knowledge of the installation directory
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/27495
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/5006
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/40017
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0353
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/487251/100/0/threaded
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28709
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/487254/100/0/threaded

Scores

EPSS 0.0350
EPSS Percentile 87.6%

Details

CWE
CWE-22
Status published
Products (1)
phpcms/phpcms 1.2.2
Published Jan 31, 2008
Tracked Since Feb 18, 2026