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:H

Description

Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function.

CVE Program

Exploit source choices

4 sources
Cockpit CMS NoSQLi to RCE
MSF-multi--http--cockpit_cms_rceMetasploitPHP / remotePreferred

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.

2021-04-13cockpit_cms_rce.rb
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
johnhammond/cve-2020-35846
GH-cb3e08895a2f578bb4e717541ae08049GitHubUnofficial GitHub source

Python PoC for CVE-2020-35846 targeting Cockpit 0.11.1

2021-07-252 files · 15 stars
0z09e/cve-2020-35846
GH-70acadf24a8c0476d27de0877956beffGitHubUnofficial GitHub source

Cockpit CMS 0.11.1 NoSQL Injection to Remote Code Execution

2021-08-056 files · 7 stars