GHSA-9pgx-pf36-w46r
Dashboard / Vulnerabilities / GHSA-9pgx-pf36-w46r
Summary: CakePHP allows method override parameters to bypass CSRF checks
Details: 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: https://nvd.nist.gov/vuln/detail/CVE-2020-35239, https://bakery.cakephp.org/2020/12/07/cakephp_4010_released.html, https://github.com/cakephp/cakephp
Affected packages
Package
Name: cakephp/cakephp
Purl: pkg:composer/cakephp/cakephp
Affected ranges
Type: ECOSYSTEM
Events:
