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.
References
Link | Resource |
---|---|
https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php | Third Party Advisory |
https://github.com/agentejo/cockpit/releases/tag/0.6.1 | Release Notes Third Party Advisory |
https://www.exploit-db.com/exploits/49390 | Exploit Third Party Advisory VDB Entry |
Configurations
History
No history.
Information
Published : 2021-01-08 17:15
Updated : 2024-02-04 21:23
NVD link : CVE-2020-35131
Mitre link : CVE-2020-35131
CVE.ORG link : CVE-2020-35131
JSON object : View
Products Affected
agentejo
- cockpit
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')