CVE-2008-5989

phpcounter < 1.3.2 - Path Traversal via l Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-5989. PoCs published by dun.

AI-analyzed exploit summary This exploit demonstrates a Local File Inclusion (LFI) vulnerability in PHPcounter <= 1.3.2. The vulnerability is due to improper sanitization of the 'l' parameter in defs.php, allowing directory traversal to read arbitrary files.

Description

Directory traversal vulnerability in defs.php in PHPcounter 1.3.2 and earlier, when magic_quotes_gpc is disabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the l parameter.

Exploits (1)

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

This exploit demonstrates a Local File Inclusion (LFI) vulnerability in PHPcounter <= 1.3.2. The vulnerability is due to improper sanitization of the 'l' parameter in defs.php, allowing directory traversal to read arbitrary files.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: PHPcounter <= 1.3.2
No auth needed
Prerequisites: Access to the vulnerable defs.php file
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

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

Scores

EPSS 0.0205
EPSS Percentile 78.8%

Details

CWE
CWE-22
Status published
Products (11)
phpcounter/phpcounter 1.2.0
phpcounter/phpcounter 1.2.1
phpcounter/phpcounter 1.2.2
phpcounter/phpcounter 1.2.3
phpcounter/phpcounter 1.2.4
phpcounter/phpcounter 1.2.5
phpcounter/phpcounter 1.2.6
phpcounter/phpcounter 1.2.7
phpcounter/phpcounter 1.3.0
phpcounter/phpcounter 1.3.1
... and 1 more
Published Jan 28, 2009
Tracked Since Feb 18, 2026