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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
Exploit-DB 1
- CakePHP 1.1.7.3363 - 'Vendors.php' Directory Traversal EDB-28645 · webapps · Sep 22, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | cakephp/cakephp | >= 1.0.1.2708, < 1.1.8.3544 | 1.1.8.3544 | GHSA-rw73-xmpv-j5x2 |
References
- cakephp-vendors-information-disclosure(29115) vdb-entry
- 22040 third-party-advisory
- http://www.gulftech.org/?node=research&article_id=00114-09212006
- http://cakeforge.org/frs/shownotes.php?release_id=134
- 20150 vdb-entry