CVE-2020-35131
CRITICAL EXPLOITED NUCLEICockpit < 0.6.1 - Remote Code Execution via registerCriteriaFunction
Title source: llmExploitation Summary
CVE-2020-35131 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit from researchers including Rafael Resende. A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit demonstrates PHP code injection in Cockpit CMS versions prior to 0.6.1 via the `registerCriteriaFunction` in `lib/MongoLite/Database.php`. It leverages authentication and password reset endpoints to inject arbitrary PHP code (e.g., `phpinfo()`) for remote code execution.
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.
Exploits (1)
This exploit demonstrates PHP code injection in Cockpit CMS versions prior to 0.6.1 via the `registerCriteriaFunction` in `lib/MongoLite/Database.php`. It leverages authentication and password reset endpoints to inject arbitrary PHP code (e.g., `phpinfo()`) for remote code execution.
Nuclei Templates (1)
http.html:"cockpit"
app="Cockpit"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H