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 |
https://bakery.cakephp.org/2020/12/07/cakephp_4010_released.html | Vendor Advisory |
Configurations
History
21 Nov 2024, 05:27
Type | Values Removed | Values Added |
---|---|---|
References | () https://bakery.cakephp.org/2020/12/07/cakephp_4010_released.html - Vendor Advisory |
Information
Published : 2021-01-26 18:15
Updated : 2024-11-21 05:27
NVD link : CVE-2020-35239
Mitre link : CVE-2020-35239
CVE.ORG link : CVE-2020-35239
JSON object : View
Products Affected
cakefoundation
- cakephp
CWE
CWE-352
Cross-Site Request Forgery (CSRF)