Advisory

GHSA-g2vx-8v47-4vhh

Also known as: CVE-2010-4335

Summary

CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 05:44 UTC
Modified
2023-11-08 03:56 UTC

Affected packages and fixes

cakephp/cakephp

Packagist · All systems

Affected

  • introduced 1.2.8, fixed 1.3.6 (ecosystem)

Fixed versions

1.3.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences