CVE-2020-35131

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:agentejo:cockpit:*:*:*:*:*:*:*:*

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 () 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 () 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 () 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')