Vulnerability · Published May 11, 2020 · Assigned by mitre
CVE-2020-11108
High 8.8
In plain English
A high-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 78.3% (higher than 99.6% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code.
Official 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 products (as reported)
References
- https://frichetten.com/blog/cve-2020-11108-pihole-rce/ x_refsource_MISC
- https://github.com/Frichetten/CVE-2020-11108-PoC x_refsource_MISC
- http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html x_refsource_MISC
- http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html x_refsource_MISC
- http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html x_refsource_MISC
- http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html x_refsource_MISC