CVE-2020-35131 Information

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.

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Reference

https://github.com/agentejo/cockpit/releases/tag/0.6.1 https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php https://www.exploit-db.com/exploits/49390

Attack Complexity

LOW

Privileges Required

NONE

User Interaction Required

NONE

Scope

NONE

Confidentiality Impact

UNCHANGED

Integrity Impact

HIGH

Availability Impact

HIGH

Base Score

HIGH

Base Severity

9.8

Share on: