
نص برمجي بلغة Python لاستغلال الثغرة CVE-2020-8816، وهي ثغرة تنفيذ تعليمات برمجية عن بُعد في Pi-hole
سكريبت بايثون لاستغلال CVE-2020-8816، وهي ثغرة تنفيذ كود عن بُعد في Pi-hole.
يستخدم هذا السكريبت التقنيات التي وجدها 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
