Patchfirst
CVE-2020-35131 Public exploit EPSS 50.3%

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 ↓

Summary

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.

Breakdown
59.8 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 3 years after disclosure. Public exploit code (Exploit-DB) was available 1 day before disclosure.

  1. Public exploit codeExploit-DB1 day before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+3 yrs
↑ ↓ chooseEnter openEsc close