Description
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Cockpit CMS NoSQLi to RCE
exploit/multi/http/cockpit_cms_rce
GitHub 2 repositories
-
JohnHammond/CVE-2020-35846 ★ 15 · Jul 25, 2021
Python PoC for CVE-2020-35846 targeting Cockpit 0.11.1
-
0z09e/CVE-2020-35846 ★ 7 · Aug 5, 2021
Cockpit CMS 0.11.1 NoSQL Injection to Remote Code Execution
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
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.
- Agentejo Cockpit < 0.11.2 - NoSQL Injection http/cves/2020/CVE-2020-35846.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://getcockpit.com/
- https://github.com/agentejo/cockpit/commit/79fc9631ffa29146e3124ceaf99879b92e1ef24b
- https://github.com/agentejo/cockpit/commit/33e7199575631ba1f74cba6b16b10c820bec59af
- https://github.com/agentejo/cockpit/commit/2a385af8d80ed60d40d386ed813c1039db00c466
- http://packetstormsecurity.com/files/162282/Cockpit-CMS-0.11.1-NoSQL-Injection-Remote-Command-Execution.html