Lucene search

K
githubGitHub Advisory DatabaseGHSA-G2VX-8V47-4VHH
HistoryMay 17, 2022 - 5:44 a.m.

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

2022-05-1705:44:11
CWE-20
GitHub Advisory Database
github.com
12
cakephp
remote attackers
modify internal cache
execute arbitrary code
security vulnerability

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS

0.922

Percentile

99.0%

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.

Affected configurations

Vulners
Node
cakephpcakephpRange1.2.81.3.6
VendorProductVersionCPE
cakephpcakephp*cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS

0.922

Percentile

99.0%