
Ein Python-Skript zur Ausnutzung von CVE-2020-8816, einer Schwachstelle zur Remotecodeausführung auf dem Pi-hole
Ein Python-Skript zur Ausnutzung von CVE-2020-8816, einer Schwachstelle zur Remote-Code-Ausführung auf dem Pi-hole.
Dieses Skript verwendet die von François Renaud-Philippon gefundenen Techniken, um eine Remote-Code-Ausführung auf einem Pi-hole zu erreichen, das eine Weboberfläche in einer Version kleiner als 4.3.3 ausführt. Der Exploit setzt voraus, dass der Pfad für den www-data-Benutzer /opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ist.
> python3 .\CVE-2020-8816.py -h
usage: CVE-2020-8816.py [-h] url password ip port
Receive a reverse shell on a Pi-hole with access to the admin web console
positional arguments:
url The URL of the Pi-hole console
password The admin password for the Pi-hole console
ip The IP address for the reverse shell to connect to
port The port for the reverse shell to connect to
optional arguments:
-h, --help show this help message and exit
