CVEfocus › CVE database › CVE-2020-35131

CVE-2020-35131

EPSS 77.8% (in the top 1% of all CVEs)Published 2021-01-08Updated 2024-08-04Assigner: mitre

Cockpit before 0.6.1 allows an attacker to inject custom PHP code and achieve Remote Command Execution via registerCriteriaFunction in lib/MongoLite/Database.php, as demonstrated by values in JSON data to the /auth/check or /auth/requestreset URI.

What to do

Likely to be exploited: EPSS gives a 78% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

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

20Not affected

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
Red Hat Enterprise Linux 9cockpitNot affected
Red Hat Enterprise Linux 9cockpit-bridgeNot affected
Red Hat Enterprise Linux 9cockpit-docNot affected
Red Hat Enterprise Linux 9cockpit-packagekitNot affected
Red Hat Enterprise Linux 9cockpit-pcpNot affected
Red Hat Enterprise Linux 9cockpit-storagedNot affected
Red Hat Enterprise Linux 9cockpit-systemNot affected
Red Hat Enterprise Linux 9cockpit-wsNot affected
Red Hat Enterprise Linux 9cockpit-ws-selinuxNot affected
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-bridgeNot affected
Red Hat Enterprise Linux 8cockpit-docNot affected
Red Hat Enterprise Linux 8cockpit-systemNot affected
Red Hat Enterprise Linux 8cockpit-wsNot affected
Red Hat Enterprise Linux 7cockpitNot affected
Red Hat Enterprise Linux 7cockpit-bridgeNot affected
Red Hat Enterprise Linux 7cockpit-docNot affected
Red Hat Enterprise Linux 7cockpit-machines-ovirtNot affected
Red Hat Enterprise Linux 7cockpit-systemNot affected
Red Hat Enterprise Linux 7cockpit-wsNot affected

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.