HIGH
GHSA-g2vx-8v47-4vhh
CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code
Quick fix
GHSA-g2vx-8v47-4vhh — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^1.3.6Details
The `_validatePost` function in `libs/controller/components/security.php` in CakePHP 1.3.x through 1.3.5 and 1.2.8 allows remote attackers to modify the internal Cake cache and execute arbitrary code via a crafted `data[_Token][fields]` value that is processed by the unserialize function, as demonstrated by modifying the `file_map` cache to execute arbitrary local files.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/cakephp/cakephp
Introduced in:
1.2.8Fixed in: 1.3.6Fix
composer require cakephp/cakephp:^1.3.6References
- https://nvd.nist.gov/vuln/detail/CVE-2010-4335[ADVISORY]
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb[WEB]
- https://github.com/cakephp/cakephp[PACKAGE]
- http://malloc.im/CakePHP-unserialize.txt[WEB]
- http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt[WEB]
- http://secunia.com/advisories/42211[WEB]
- http://securityreason.com/securityalert/8026[WEB]
- http://www.exploit-db.com/exploits/16011[WEB]
- http://www.osvdb.org/69352[WEB]