CVE-2020-35131
9.8
CRITICAL · CVSS 3.1 · EPSS 51.3% (pctl 99)
Patch early
EPSS 51.3% — above the 10% action threshold.
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.
Scoring
| CVSS | 9.8 (CRITICAL, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 51.3% — more likely to be exploited than 99% of all CVEs |
| Weakness | CWE-94 |
| On CISA KEV | no |
| Public exploit | none known |
| Published | 2021-01-08 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| agentejo | cockpit |
References
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php
- https://github.com/agentejo/cockpit/releases/tag/0.6.1
- https://www.exploit-db.com/exploits/49390
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php
- https://github.com/agentejo/cockpit/releases/tag/0.6.1
- https://www.exploit-db.com/exploits/49390
→ the Explorer · watch your stack · NVD