CVE-2020-35131
Last modified
CVE-2020-35131 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 49.94% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Agentejo | Cockpit | < 0.6.1 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-35131?
How severe is CVE-2020-35131?
How do I fix CVE-2020-35131?
Are you affected by CVE-2020-35131?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
