Skip to content

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

Package

composer cakephp/cakephp (Composer)

Affected versions

>= 1.2.8, < 1.3.6

Patched versions

1.3.6

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.

References

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

Severity

High

EPSS score

92.168%
(99th percentile)

Weaknesses

CVE ID

CVE-2010-4335

GHSA ID

GHSA-g2vx-8v47-4vhh

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.