VULNERABILITY INTELLIGENCE

CVE-2020-35131

CVSS score9.8 CRITICAL
EPSS probability50.26%
CISA KEVNot currently listed
Published2021-01-08
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Weakness classification

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Primary references