{"id":"CVE-2020-11108","published":"2020-05-11T14:42:04Z","modified":"2024-08-04T11:21:14Z","title":"The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The Gravity updater in Pi-hole through 4.4, specifically the gravity_DownloadBlocklistFromUrl function in gravity.sh, contains a flaw that lets a user upload arbitrary files. An authenticated attacker can exploit it by writing a PHP file into the web directory to achieve remote code execution, and combined with the sudo rule for the www-data user it can be used to escalate privileges to root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:36Z"},"cvss":null,"epss":{"score":0.77964,"percentile":0.99703,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":5,"pulses":[{"name":"ripe.arin.enom.cpanel.cpcalendar.iana.networksolutions.02050.webdisk.webmail.","url":"https://otx.alienvault.com/pulse/69fdc02bea1e4ec923b01688","created":"2026-05-08"},{"name":"Shredding pre2020's exp.certs / ioc's / cves + scanning","url":"https://otx.alienvault.com/pulse/69bcec8862ad25cbd4a1c22f","created":"2026-03-20"},{"name":"SCANID: S-KhOoOrXsco8: Thor Lite Linux 64 - Sample Lab Device 2 - incomplete (not enriched)","url":"https://otx.alienvault.com/pulse/67c6bb5aa601e91b1314ff44","created":"2025-03-04"},{"name":"Thor-Lite Linux 64 (06.11.24) - enriched a bit more but not 'pruned'","url":"https://otx.alienvault.com/pulse/6668b85065eec626e4766a38","created":"2024-06-11"},{"name":"Thor Lite Scan - 10.7.15 - Ubuntu Scan on Archived Files","url":"https://otx.alienvault.com/pulse/664cc3c1938ed0b9abf026a2","created":"2024-05-21"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://frichetten.com/blog/cve-2020-11108-pihole-rce/","tags":["x_refsource_MISC"]},{"url":"https://github.com/Frichetten/CVE-2020-11108-PoC","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2020-3466","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-3466","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":48442,"url":"https://www.exploit-db.com/exploits/48442","title":"Pi-hole <= 4.4 - Authenticated Remote Code Execution (RCE)","type":"webapps","platform":"linux","date":"2020-05-10","verified":false,"provenance":"source"},{"id":48443,"url":"https://www.exploit-db.com/exploits/48443","title":"Pi-hole <= 4.4 - Authenticated Remote Code Execution (RCE) / Privileges Escalation","type":"webapps","platform":"linux","date":"2020-05-10","verified":false,"provenance":"source"},{"id":48491,"url":"https://www.exploit-db.com/exploits/48491","title":"Pi-hole <= 4.4 - heisenbergCompensator Blocklist OS Command Execution (Metasploit)","type":"remote","platform":"php","date":"2020-05-19","verified":true,"provenance":"source"},{"id":48519,"url":"https://www.exploit-db.com/exploits/48519","title":"Pi-hole 4.4.0 - Authenticated Remote Code Execution (RCE)","type":"webapps","platform":"linux","date":"2020-05-26","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":4,"earliest":"2020-05-10"},"pocGithub":{"count":1,"skipped":0,"earliest":"2020-04-04","earliestUrl":"https://github.com/Frichetten/CVE-2020-11108-PoC","repos":[{"name":"Frichetten/CVE-2020-11108-PoC","url":"https://github.com/Frichetten/CVE-2020-11108-PoC","stars":27,"created":"2020-04-04"}]},"metasploit":[{"name":"Pi-Hole heisenbergCompensator Blocklist OS Command Execution","module":"exploit/unix/http/pihole_blocklist_exec","type":"exploit","disclosureDate":"2020-05-10","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/pihole_blocklist_exec.rb"}],"first":{"date":"2020-04-04","source":"PoC-in-GitHub","url":"https://github.com/Frichetten/CVE-2020-11108-PoC"},"provenance":"source"},"exploitRefs":["https://github.com/Frichetten/CVE-2020-11108-PoC","http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html","http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html","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"],"flow":[],"timeline":[{"date":"2020-04-04","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2020-05-10, Metasploit 2020-05-10","url":"https://github.com/Frichetten/CVE-2020-11108-PoC","provenance":"source"},{"date":"2020-05-11","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-11108","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":26.7,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9970"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"4 Exploit-DB entries; 5 NVD exploit links; 1 PoC-in-GitHub repo; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":1.77,"detail":"5 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}