CVEfocus › CVE database › CVE-2020-35239

CVE-2020-35239

CVSS 8.8 HighEPSS 0.6% (higher than 50% of CVEs)Published 2021-01-20Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04cakephpUnder investigationUBUNTU-CVE-2020-35239
Ubuntu 20.04cakephpFix pendingUBUNTU-CVE-2020-35239
Ubuntu 16.04cakephpFix pendingUBUNTU-CVE-2020-35239
Ubuntu 14.04cakephpFix pending
Packagist librarycakephp/cakephpFixed4.1.4GHSA-9pgx-pf36-w46r

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.