CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code
High severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Jan 30, 2023
Description
Published by the National Vulnerability Database
Jan 14, 2011
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Jan 14, 2023
Last updated
Jan 30, 2023
The
_validatePost
function inlibs/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 crafteddata[_Token][fields]
value that is processed by the unserialize function, as demonstrated by modifying thefile_map
cache to execute arbitrary local files.References