CVE-2020-35131
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 0.6.1.
What to do
Find your product and version, then upgrade to the build on the right.
- Agentejo CockpitAffected: < 0.6.1Upgrade to: 0.6.1Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check your Cockpit version and confirm whether it is earlier than 0.6.1.
- Upgrade Cockpit to version 0.6.1 (or later) to remove the vulnerable code path.
- If you cannot upgrade immediately, restrict network access to Cockpit so only trusted internal IPs can reach it.
- After upgrading, review access logs for suspicious requests to the affected auth-related endpoints.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordCVE-2020-35131 is a serious flaw in Cockpit (versions before 0.6.1) where an internet attacker can send crafted JSON and run commands on your server without logging in. If you use Cockpit, you should upgrade now.
Unauthenticated remote code execution in Cockpit before 0.6.1 occurs when attackers inject custom PHP code via JSON input (through registerCriteriaFunction in lib/MongoLite/Database.php), allowing Remote Command Execution over the network.
If you're affected
- Full server takeover
- Malware installation
- Data theft risk
- Service disruption
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
50% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
9 events over 2004 days, from the signal feeds we watch.
- EPSS band changemoderate → highepss band change
- EPSS band changecritical → moderate
- Public exploit / PoCsource: exploit-dbnuclei check added
- Record updated
- Publishedweakness classified, att&ck mapped
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Cockpit, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI