CVE-2012-6665

phpmoneybooks 1.0.4 - Path Traversal via File Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-6665. PoCs published by Mark Stanislav.

AI-analyzed exploit summary This exploit demonstrates a Local File Inclusion (LFI) vulnerability in phpMoneyBooks 1.0.2 via a null-byte attack on the 'module' GET parameter. It allows reading arbitrary files (e.g., /etc/passwd) when magic_quotes_gpc is disabled and PHP is < 5.3.4.

Description

Directory traversal vulnerability in index.php in phpMoneyBooks 1.0.4 allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter, a different vulnerability than CVE-2012-1669. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information. NOTE: this issue might have been fixed in 1.0.3.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Mark Stanislav · textwebappsphp
https://www.exploit-db.com/exploits/18648

This exploit demonstrates a Local File Inclusion (LFI) vulnerability in phpMoneyBooks 1.0.2 via a null-byte attack on the 'module' GET parameter. It allows reading arbitrary files (e.g., /etc/passwd) when magic_quotes_gpc is disabled and PHP is < 5.3.4.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: phpMoneyBooks 1.0.2
No auth needed
Prerequisites: magic_quotes_gpc disabled · PHP < 5.3.4
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/80101
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/48389

Scores

EPSS 0.0309
EPSS Percentile 86.0%

Details

CWE
CWE-22
Status published
Products (1)
phpmoneybooks/phpmoneybooks 1.0.4
Published Nov 17, 2014
Tracked Since Feb 18, 2026