MediumGHSA-rw73-xmpv-j5x2CVE-2006-5031
CakePHP directory traversal vulnerability allows remote attackers to read arbitrary files
Published 1 May 2022 · Updated 8 Nov 2023
Affected package
cakephp/cakephpComposer
- Affected
- >=1.0.1.2708 <1.1.8.3544
- Fixed in
- 1.1.8.3544
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^1.1.8.3544Details
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.
Is GHSA-rw73-xmpv-j5x2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cakephp/cakephp, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2006-5031
- Linkexchange.xforce.ibmcloud.com/vulnerabilities/29115
- Packagegithub.com/cakephp/cakephp
- Linkcakeforge.org/frs/shownotes.php?release_id=134
- Linksecunia.com/advisories/22040
- Linkwww.gulftech.org/?node=research&article_id=00114-09212006
- Linkwww.securityfocus.com/bid/20150
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.