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.
References
Link | Resource |
---|---|
https://bakery.cakephp.org/2020/12/07/cakephp_4010_released.html | Vendor Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-01-20T23:37:02
Updated: 2021-01-20T23:37:02
Reserved: 2020-12-14T00:00:00
Link: CVE-2020-35239
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-01-26T18:15:53.583
Modified: 2021-02-02T17:47:39.250
Link: CVE-2020-35239
JSON object: View
Redhat Information
No data.
CWE