Patchfirst
CVE-2010-4335 Public exploit EPSS 55.2%

The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x through 1.3.5 and 1.2.8 allows…

Fix:upgrade cakephp to 1.3.6 or later Details ↓

Summary

The _validatePost function in libs/controller/components/security.php of CakePHP (versions 1.3.x through 1.3.5 and 1.2.8) can be abused through a crafted data[_Token][fields] value that is passed to unserialize, letting an attacker modify the internal Cake cache. An attacker who can send such a crafted request to the application can exploit this to execute arbitrary code by altering the file_map cache so that arbitrary local files are run.

Official description · CVE.org

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.

Breakdown
24.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available 2 months before disclosure.

  1. Public exploit codeMetasploit2 mo before
  2. Disclosedday 0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: cakephp/cakephp.

Packagistcakephp/cakephpGHSA-g2vx-8v47-4vhh

Upgrade to 1.3.6 or later

Set the version to 1.3.6 or later in your composer.json.

The first fix for CVE-2010-4335. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
1.2.8 up to 1.3.61.3.6

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

7 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close