CVE-2020-35131 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 dat...
CriticalCVSS 9.8
EPSS 50.3%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| agentejo cockpit | < 0.6.1 | 0.6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| agentejo cockpit | < 0.6.1 | 0.6.1 |
References
- github.com third-party-advisory
- github.com release-notes third-party-advisory
- www.exploit-db.com exploit third-party-advisory vdb-entry