
CVE-2020-8816, Pi-hole पर एक रिमोट कोड निष्पादन भेद्यता, का शोषण करने के लिए एक Python स्क्रिप्ट
Pi-hole पर दूरस्थ कोड निष्पादन भेद्यता (CVE-2020-8816) का शोषण करने के लिए एक Python स्क्रिप्ट।
यह स्क्रिप्ट François Renaud-Philippon द्वारा खोजी गई तकनीकों का उपयोग करके Pi-hole पर रिमोट कोड एक्ज़ीक्यूशन प्राप्त करती है, जहाँ वेब इंटरफ़ेस संस्करण 4.3.3 से कम है। शोषण के लिए www-data उपयोगकर्ता का पथ /opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin होना आवश्यक है।
> 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
