{"id":"CVE-2010-4335","aliases":["DEBIAN-CVE-2010-4335","EUVD-2022-3864","GHSA-g2vx-8v47-4vhh"],"status":"published","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":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.55204,"percentile":0.99036,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2011-01-14T22:00:00Z","modified":"2026-08-15T06:47:42Z","exploits":[{"source":"exploitdb","id":"EDB-16011","title":"CakePHP 1.3.5/1.2.8 - 'Unserialize()' File Inclusion","type":"webapps","platform":"php","date":"2011-01-18","url":"https://www.exploit-db.com/exploits/16011"},{"source":"exploitdb","id":"EDB-16902","title":"CakePHP 1.3.5/1.2.8 - Cache Corruption (Metasploit)","type":"webapps","platform":"php","date":"2011-01-14","verified":true,"url":"https://www.exploit-db.com/exploits/16902"},{"source":"metasploit","id":"exploit/unix/webapp/cakephp_cache_corruption","title":"CakePHP Cache Corruption Code Execution","type":"exploit","platform":"PHP","date":"2010-11-15","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/webapp/cakephp_cache_corruption"}],"fixes":[{"ecosystem":"Packagist","package":"cakephp/cakephp","fixed_in":["1.3.6"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:11","package":"cakephp","fixed_in":["1.3.2-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"cakephp/cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.8"},{"fixed":"1.3.6"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-1.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"cakephp/cakephp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.8"},{"fixed":"1.3.6"}]}]}],"products":[{"vendor":"cakefoundation","product":"cakephp"},{"vendor":"cakephp","product":"cakephp"}],"references":[{"url":"https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"http://www.exploit-db.com/exploits/16011","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt","tags":["x_refsource_MISC","x_transferred","Exploit","evidence","web"]},{"url":"http://www.osvdb.org/69352","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://securityreason.com/securityalert/8026","tags":["third-party-advisory","x_refsource_SREASON","x_transferred","web"]},{"url":"http://malloc.im/CakePHP-unserialize.txt","tags":["x_refsource_MISC","x_transferred","Exploit","evidence","web"]},{"url":"http://secunia.com/advisories/42211","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2010-4335","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g2vx-8v47-4vhh"},{"url":"https://security-tracker.debian.org/tracker/CVE-2010-4335","tags":["advisory"]},{"url":"https://github.com/cakephp/cakephp","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2010-4335","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.","status":"published","published":"2011-01-14T22:00:00Z","modified":"2024-08-07T03:43:14.558Z","updated_at":"2026-11-02T14:33:28.115387Z"}],"euvd":[{"id":"EUVD-2022-3864","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.","status":"published","published":"2011-01-14T22:00:00Z","modified":"2024-08-07T03:43:14Z","updated_at":"2026-11-03T01:39:30.072311Z"}],"ghsa":[{"id":"GHSA-g2vx-8v47-4vhh","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.","status":"published","published":"2022-05-17T05:44:11Z","modified":"2023-01-30T05:03:47Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:28.424013Z"}],"nvd":[{"id":"CVE-2010-4335","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.","status":"published","published":"2011-01-14T23:00:46.85Z","modified":"2026-06-16T23:24:35.097Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:03.297831Z"}],"osv":[{"id":"CVE-2010-4335","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.","status":"published","published":"2011-01-14T23:00:46Z","modified":"2026-04-10T03:41:30.135172Z","updated_at":"2026-11-02T15:43:57.991581Z"},{"id":"DEBIAN-CVE-2010-4335","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.","status":"published","published":"2011-01-14T23:00:46.85Z","modified":"2026-08-15T06:47:42.868173284Z","updated_at":"2026-11-02T15:45:24.316685Z"},{"id":"GHSA-g2vx-8v47-4vhh","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.","status":"published","published":"2022-05-17T05:44:11Z","modified":"2023-11-08T03:56:57.677122Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:47.119724Z"}]}}
