CVE-2020-35131: Code Injection
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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2020-35131?
CVE-2020-35131 is a vulnerability in Cockpit before version 0.6.1 that allows an attacker to inject custom PHP code and achieve remote command execution.
How severe is CVE-2020-35131?
CVE-2020-35131 has a severity rating of 9.8, which is classified as critical.
Which software versions are affected by CVE-2020-35131?
Versions up to and excluding 0.6.1 of Agentejo Cockpit are affected by CVE-2020-35131.
How can an attacker exploit CVE-2020-35131?
An attacker can exploit CVE-2020-35131 by injecting custom PHP code via the registerCriteriaFunction in lib/MongoLite/Database.php, using values in JSON data to the /auth/check or /auth/requestreset URI.
Are there any references available for CVE-2020-35131?
Yes, you can find references for CVE-2020-35131 at the following links: [link1](https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php), [link2](https://github.com/agentejo/cockpit/releases/tag/0.6.1), [link3](https://www.exploit-db.com/exploits/49390)