CVEvulnerability
CVE-2020-35131
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-01-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-94
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.
Affected configurations
• agentejo cockpit (< 0.6.1)
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- 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