Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / n/a | affected n/a |
CWE
No CWE identifiers supplied.
References
- https://github.com/agentejo/cockpit/releases/tag/0.6.1
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php
- https://www.exploit-db.com/exploits/49390
ADP enrichment
No English description supplied.