Live threats

All CVEs / Cakefoundation

CVE-2010-4335Cakefoundation Cakephp

High 7.5 No auth neededHigh EPSS

Priority
66
CVSS 2.0
7.5
EPSS
55.2%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Jan 14, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cakephp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist cakephp/cakephp ≥ 1.2.8 < 1.3.6 1.3.6 composer require "cakephp/cakephp:^1.3.6"

Per OSV / GitHub Advisories (GHSA-g2vx-8v47-4vhh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cakefoundationcakephp1.3.0
cakephpcakephp1.2.8
cakephpcakephp1.3
cakephpcakephp1.3.0
cakephpcakephp1.3.0
cakephpcakephp1.3.0
cakephpcakephp1.3.0
cakephpcakephp1.3.0
cakephpcakephp1.3.0
cakephpcakephp1.3.1
cakephpcakephp1.3.2
cakephpcakephp1.3.3
cakephpcakephp1.3.4
cakephpcakephp1.3.5

Official sources

References

Links published by the sources. Open them with care.