Back to CVE catalog
CVE-2020-35239

CSRF bypass in CakePHP

cakephp cakephp

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

8.8High
Published:
Updated:
EPSS:
0.608%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:cakephpcakephpAffected versions:
≥ 4.0.0, ≤ 4.1.3Show full version range for cakephp
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–1 of 1 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary8.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVE-2020-35239 · OSV (source-vector)8.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)6.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories5

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences