Description
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword 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
Exploit-DB 1
- Cockpit CMS 0.11.1 - 'Username Enumeration & Password Reset' NoSQL Injection EDB-50185 · webapps · Aug 10, 2021
GitHub 1 repository
-
w33vils/CVE-2020-35847_CVE-2020-35848 ★ 0 · Aug 6, 2021
CVE-2020-35847, CVE-2020-35848 : Account Takeover
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-35847.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
- http://packetstormsecurity.com/files/163762/Cockpit-CMS-0.11.1-NoSQL-Injection.html