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 |
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
21 Nov 2024, 05:26
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php - Third Party Advisory | |
References | () https://github.com/agentejo/cockpit/releases/tag/0.6.1 - Release Notes, Third Party Advisory | |
References | () https://www.exploit-db.com/exploits/49390 - Exploit, Third Party Advisory, VDB Entry |
Information
Published : 2021-01-08 17:15
Updated : 2024-11-21 05:26
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')