Skip to content
OpenAdvisories
Medium Public exploit CVE-2006-5031 EUVD-2022-5242GHSA-rw73-xmpv-j5x2

CakePHP directory traversal vulnerability allows remote attackers to read arbitrary files

Published Sep 27, 2006 · Updated Aug 7, 2024 · Assigned by mitre

Description

Directory traversal vulnerability in app/webroot/js/vendors.php in Cake Software Foundation CakePHP before 1.1.8.3544 allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter, followed by a filename ending with "%00" and a .js filename.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 cakephp 1.1.13.4450-1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist cakephp/cakephp >= 1.0.1.2708, < 1.1.8.3544 1.1.8.3544 GHSA-rw73-xmpv-j5x2

References