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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-01-08T16:09:06
Updated: 2021-01-08T16:09:06
Reserved: 2020-12-11T00:00:00
Link: CVE-2020-35131
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-01-08T17:15:13.150
Modified: 2021-01-12T19:46:00.750
Link: CVE-2020-35131
JSON object: View
Redhat Information
No data.
CWE