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.
{ "nvd_published_at": "2021-01-26T18:15:00Z", "github_reviewed_at": "2023-01-14T05:29:16Z", "severity": "HIGH", "github_reviewed": true, "cwe_ids": [ "CWE-352" ] }