{"id":"GHSA-g2vx-8v47-4vhh","aliases":["CVE-2010-4335"],"title":"CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code","description":"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.","severity":"high","score":null,"published":"2022-05-17T05:44:11.000Z","modified":"2023-11-08T03:56:57.677Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"cakephp/cakephp","ranges":[{"events":[{"introduced":"1.2.8"},{"fixed":"1.3.6"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["1.3.6"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2010-4335","https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb","https://github.com/cakephp/cakephp","http://malloc.im/CakePHP-unserialize.txt","http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt","http://secunia.com/advisories/42211","http://securityreason.com/securityalert/8026","http://www.exploit-db.com/exploits/16011","http://www.osvdb.org/69352"],"sources":[{"name":"OSV","id":"GHSA-g2vx-8v47-4vhh","modified":"2023-11-08T03:56:57.677122Z","url":"https://osv.dev/vulnerability/GHSA-g2vx-8v47-4vhh"}],"assessments":[]}