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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 51.3%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 51.30% probability · 99th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- agentejo/cockpit
- Source
- cve@mitre.org
References
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.phpThird Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1Release Notes, Third Party Advisory
- https://www.exploit-db.com/exploits/49390Exploit, Third Party Advisory, VDB Entry
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.phpThird Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1Release Notes, Third Party Advisory
- https://www.exploit-db.com/exploits/49390Exploit, Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.