CVE-2020-35239Cross-Site Request Forgery in Cakephp

Severity
8.8HIGHNVD
EPSS
0.2%
top 59.58%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 26
Latest updateMay 24

Description

A vulnerability exists in CakePHP versions 4.0.x through 4.1.3. The CsrfProtectionMiddleware component allows method override parameters to bypass CSRF checks by changing the HTTP request method to an arbitrary string that is not in the list of request methods that CakePHP checks. Additionally, the route middleware does not verify that this overriden method (which can be an arbitrary string) is actually an HTTP method.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages3 packages

Packagistcakephp/cakephp4.0.04.0.10+1
NVDcakephp/cakephp4.0.04.1.3

🔴Vulnerability Details

3
OSV
CakePHP allows method override parameters to bypass CSRF checks2022-05-24
GHSA
CakePHP allows method override parameters to bypass CSRF checks2022-05-24
OSV
CVE-2020-35239: A vulnerability exists in CakePHP versions 42021-01-26

📋Vendor Advisories

1
Debian
CVE-2020-35239: cakephp - A vulnerability exists in CakePHP versions 4.0.x through 4.1.3. The CsrfProtecti...2020