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.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Cockpit CMS 0.6.1 - Remote Code Execution http/cves/2020/CVE-2020-35131.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.