GHSA-g2vx-8v47-4vhh

Suggest an improvement
Source
https://github.com/advisories/GHSA-g2vx-8v47-4vhh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-g2vx-8v47-4vhh/GHSA-g2vx-8v47-4vhh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g2vx-8v47-4vhh
Aliases
Published
2022-05-17T05:44:11Z
Modified
2023-11-08T03:56:57.677122Z
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.

Database specific
{
    "nvd_published_at": "2011-01-14T23:00:00Z",
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-14T05:29:31Z"
}
References

Affected packages

Packagist / cakephp/cakephp

Package

Name
cakephp/cakephp
Purl
pkg:composer/cakephp/cakephp

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.2.8
Fixed
1.3.6