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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-01-20T23:37:02

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: 2024-11-21T05:27:05.420

Link: CVE-2020-35239

cve-icon Redhat

No data.