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
                    15 Jan 2025, 17:44
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time | Cakephp Cakephp cakephp | |
| CPE | cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:* | 
Information
                Published : 2021-01-26 18:15
Updated : 2025-01-15 17:44
NVD link : CVE-2020-35239
Mitre link : CVE-2020-35239
CVE.ORG link : CVE-2020-35239
JSON object : View
Products Affected
                cakephp
- cakephp
CWE
                
                    
                        
                        CWE-352
                        
            Cross-Site Request Forgery (CSRF)
