Description
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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html
- http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html
- https://frichetten.com/blog/cve-2020-11108-pihole-rce/Exploit, Third Party Advisory
- https://github.com/Frichetten/CVE-2020-11108-PoCExploit, Third Party Advisory
- http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html
- http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html
- https://frichetten.com/blog/cve-2020-11108-pihole-rce/Exploit, Third Party Advisory
- https://github.com/Frichetten/CVE-2020-11108-PoCExploit, Third Party Advisory
Timeline
- Published
- May 11, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified