CVE-2020-35131
cockpit: registerCriteriaFunction in lib/MongoLite/Database.php allows for a Remote Command Execution via custom php code injection
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut Red Hat (hoch).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
Keine Paketquelle führt diese ID.
Referenzen
- https://access.redhat.com/security/cve/CVE-2020-35131
- https://github.com/agentejo/cockpit/commits/next/lib/MongoLite/Database.php
- https://github.com/agentejo/cockpit/releases/tag/0.6.1
- https://nvd.nist.gov/vuln/detail/CVE-2020-35131
- https://www.cve.org/CVERecord?id=CVE-2020-35131
- https://www.exploit-db.com/exploits/49390