CVEvulnerability

CVE-2020-35131

9.8 CRITICAL Published 2021-01-08 Modified 2026-06-17 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