{"id":"GHSA-g2vx-8v47-4vhh","summary":"CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code","details":"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.","aliases":["CVE-2010-4335"],"modified":"2023-11-08T03:56:57.677122Z","published":"2022-05-17T05:44:11Z","database_specific":{"github_reviewed_at":"2023-01-14T05:29:31Z","nvd_published_at":"2011-01-14T23:00:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2010-4335"},{"type":"WEB","url":"https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb"},{"type":"PACKAGE","url":"https://github.com/cakephp/cakephp"},{"type":"WEB","url":"http://malloc.im/CakePHP-unserialize.txt"},{"type":"WEB","url":"http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt"},{"type":"WEB","url":"http://secunia.com/advisories/42211"},{"type":"WEB","url":"http://securityreason.com/securityalert/8026"},{"type":"WEB","url":"http://www.exploit-db.com/exploits/16011"},{"type":"WEB","url":"http://www.osvdb.org/69352"}],"affected":[{"package":{"name":"cakephp/cakephp","ecosystem":"Packagist","purl":"pkg:composer/cakephp/cakephp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.8"},{"fixed":"1.3.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-g2vx-8v47-4vhh/GHSA-g2vx-8v47-4vhh.json"}}],"schema_version":"1.9.0"}