CVE-2020-35239

Published Jan 20, 2021 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-3423 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.
Github GHSA Github GHSA GHSA-9pgx-pf36-w46r CakePHP allows method override parameters to bypass CSRF checks
History
Type Values Removed Values Added
First Time appeared Cakephp
Cakephp cakephp
CPEs cpe:2.3:a:cakefoundation:cakephp:*:*:*:*:*:*:*:* cpe:2.3:a:cakephp:cakephp:*:*:*:*:*:*:*:*
Vendors & Products Cakefoundation
Cakefoundation cakephp
Cakephp
Cakephp cakephp
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 5:02 PM
Reserved
Dec 14, 2020, 12:00 AM
Status
Modified
Published
Jan 26, 2021, 6:15 PM
Modified
Jun 17, 2026, 3:13 AM