-
CVSS Score
-The vulnerability arises from two key issues: 1) ServerRequest::detectMethod allowed arbitrary method overrides without validation, enabling attackers to craft non-HTTP methods. 2) CsrfProtectionMiddleware::process only performed CSRF checks for a predefined list of methods. Combined, these allowed attackers to bypass CSRF protections by setting an invalid method. The patched versions added validation in detectMethod and ensured CSRF checks account for valid HTTP methods.
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| cakephp/cakephp | composer | >= 4.0.0, < 4.0.10 | 4.0.10 |
| cakephp/cakephp | composer | >= 4.1.0, < 4.1.4 | 4.1.4 |
Ongoing coverage of React2Shell