CVE-2010-4335
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 55.2% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 55.2% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 55.2% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Cakefoundation Cakephp 1.3.0
- Cakephp 1.2.8
- Cakephp 1.3
- Cakephp 1.3.0
- Cakephp 1.3.1
- Cakephp 1.3.2
- Cakephp 1.3.3
- Cakephp 1.3.4
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-4335.md and follow it. Check whether this project is affected by CVE-2010-4335. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/42211
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb
- http://secunia.com/advisories/42211
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb
References
- 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
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb
- 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
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb