CVEvulnerability
CVE-2020-35239
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-01-26
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-352
Description
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.
Affected configurations
• cakephp cakephp (>= 4.0.0 <= 4.1.3)
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- 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