Cockpit before 0.6.1 allows an attacker to inject custom PHP code and achieve Remote Command Execution via…
No fixed version listed yet.Check the vendor advisory. References ↓
Cockpit before 0.6.1 contains a flaw in the registerCriteriaFunction handling in lib/MongoLite/Database.php, which allows custom PHP code to be injected. The attack is demonstrated by supplying crafted values in JSON data sent to the /auth/check or /auth/requestreset URI, which can lead to remote command execution.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 3 years after disclosure. Public exploit code (Exploit-DB) was available 1 day before disclosure.
- Public exploit codeExploit-DB1 day before
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+3 yrs