Vulnerability 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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Agentejo | Cockpit | < 0.6.1 |
Related Weaknesses (CWE)
References
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.phpThird Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1Release NotesThird Party Advisory
- https://www.exploit-db.com/exploits/49390ExploitThird Party AdvisoryVDB Entry
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.phpThird Party Advisory
- https://github.com/agentejo/cockpit/releases/tag/0.6.1Release NotesThird Party Advisory
- https://www.exploit-db.com/exploits/49390ExploitThird Party AdvisoryVDB Entry
FAQ
What is CVE-2020-35131?
CVE-2020-35131 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 dat...
How severe is CVE-2020-35131?
CVE-2020-35131 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2020-35131?
Check the references section above for vendor advisories and patch information. Affected products include: Agentejo Cockpit.