This module exploits two NoSQLi vulnerabilities to retrieve the user list, and password reset tokens from the system. Next, the USER is targetted to reset their password. Then a command injection vulnerability is used to execute the payload. While it is possible to upload a payload and execute it, the command injection provides a no disk write method which is more stealthy. Cockpit CMS 0.10.0 - 0.11.1, inclusive, contain all the necessary vulnerabilities for exploitation.
Exploit database
Vulnerability
CVE-2020-35846
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · NVD
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function.
CVE ProgramExploit source choices
4 sourcesCockpit CMS NoSQLi to RCE
2021-04-13cockpit_cms_rce.rb
arpsyndicate/kenzer-templates
essential templates for kenzer [DEPRECATED]
2020-09-185,308 files · 118 stars
johnhammond/cve-2020-35846
Python PoC for CVE-2020-35846 targeting Cockpit 0.11.1
2021-07-252 files · 15 stars
0z09e/cve-2020-35846
Cockpit CMS 0.11.1 NoSQL Injection to Remote Code Execution
2021-08-056 files · 7 stars