CVE-2020-35131
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 9 | cockpit | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-bridge | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-packagekit | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-pcp | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-storaged | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-system | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-ws | Not affected | ||
| Red Hat Enterprise Linux 9 | cockpit-ws-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-bridge | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-system | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-ws | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-bridge | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-machines-ovirt | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-system | Not affected | ||
| Red Hat Enterprise Linux 7 | cockpit-ws | Not affected |
References
- https://github.com/agentejo/cockpit/releases/tag/0.6.1
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php
- https://www.exploit-db.com/exploits/49390
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.