Input validation error in CakePHP - CVE-2010-4335

 

Input validation error in CakePHP - CVE-2010-4335

Published: January 15, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45443
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-4335
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


Affected software

CakePHP

How to mitigate CVE-2010-4335

Install update from vendor's website.


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins