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.
Remediation
References
Related Vulnerabilities
WordPress Plugin NewsPlugin Cross-Site Request Forgery (1.0.18)
WordPress Plugin ImageInject Multiple Vulnerabilities (1.15)
WordPress Plugin Meta Box-WordPress Custom Fields Framework Arbitrary File Deletion (4.16.2)
Python Improper Input Validation Vulnerability (CVE-2018-20852)
Squid Improper Encoding or Escaping of Output Vulnerability (CVE-2021-28662)