Vulnerabilities · 2020 · Pi-hole
CVE-2020-11108
Pi-hole vulnerability
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. This can be abused for Remote Code Execution by writing to a PHP file in the web directory. (Also, it can be used in conjunction with the sudo rule for the www-data user to escalate privileges to root.) The code error is in gravity_DownloadBlocklistFromUrl in gravity.sh.
Affected products
Pi-hole. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pi-hole runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html · Exploit
- packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalatio · Exploit
- frichetten.com/blog/cve-2020-11108-pihole-rce/ · Exploit
- github.com/Frichetten/CVE-2020-11108-PoC · Exploit
- packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Ex
- packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html
- nvd.nist.gov/vuln/detail/CVE-2020-11108
- cve.org/CVERecord?id=CVE-2020-11108
More vulnerabilities in Pi-hole products
CVE-2025-59151CVE-2025-53533CVE-2025-34087CVE-2025-32785CVE-2024-44069CVE-2024-34361CVE-2024-28247CVE-2023-23614All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.