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.
History

Wed, 15 Jan 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Cakephp
Cakephp cakephp
CPEs cpe:2.3:a:cakefoundation:cakephp:*:*:*:*:*:*:*:* cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*
Vendors & Products Cakefoundation
Cakefoundation cakephp
Cakephp
Cakephp cakephp

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T17:02:07.018Z

Reserved: 2020-12-14T00:00:00

Link: CVE-2020-35239

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-01-26T18:15:53.583

Modified: 2025-01-15T17:44:05.873

Link: CVE-2020-35239

cve-icon Redhat

No data.