CVEvulnerability
CVE-2020-11108
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-05-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 9.0 HIGH — AV:N/AC:L/Au:S/C:C/I:C/A:C
- Weaknesses
- CWE-434
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.
Affected configurations
• pi-hole pi-hole (<= 4.4)
Related
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness
References
- http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html packetstormsecurity.com
- http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html packetstormsecurity.com
- https://frichetten.com/blog/cve-2020-11108-pihole-rce/ Exploit, Third Party Advisory
- https://github.com/Frichetten/CVE-2020-11108-PoC Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html packetstormsecurity.com
- http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html packetstormsecurity.com
- https://frichetten.com/blog/cve-2020-11108-pihole-rce/ Exploit, Third Party Advisory
- https://github.com/Frichetten/CVE-2020-11108-PoC Exploit, Third Party Advisory