{"id":"CVE-2020-11108","url":"https://www.cyber-defence.io/tools/cve/CVE-2020-11108","generatedAt":"2026-11-05T02:08:56.543Z","title":"The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files.","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.","published":"2020-05-11T15:15:11.000Z","lastModified":"2026-06-17T02:49:04.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-434"],"affected":["pi-hole/pi-hole"],"epss":{"score":0.78262,"percentile":0.99579,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":4,"verified":true,"firstPublished":"2020-05-10","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":48519,"kind":"exploit","title":"Pi-hole 4.4.0 - Remote Code Execution (Authenticated)","url":"https://www.exploit-db.com/exploits/48519","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/48519.py","file":"exploits/linux/webapps/48519.py","published":"2020-05-26","added":"2020-05-26","updated":"2021-05-27","author":"Photubias","type":"webapps","platform":"linux","port":null,"verified":true,"codes":["CVE-2020-11108"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null},{"edbId":48491,"kind":"exploit","title":"Pi-Hole - heisenbergCompensator Blocklist OS Command Execution (Metasploit)","url":"https://www.exploit-db.com/exploits/48491","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/48491.rb","file":"exploits/php/remote/48491.rb","published":"2020-05-19","added":"2020-05-19","updated":"2020-05-19","author":"Metasploit","type":"remote","platform":"php","port":null,"verified":true,"codes":["CVE-2020-11108"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_blocklist_exec.rb"},{"edbId":48443,"kind":"exploit","title":"Pi-hole < 4.4 - Authenticated Remote Code Execution / Privileges Escalation","url":"https://www.exploit-db.com/exploits/48443","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/48443.py","file":"exploits/linux/webapps/48443.py","published":"2020-05-10","added":"2020-05-11","updated":"2020-05-11","author":"Nick Frichette","type":"webapps","platform":"linux","port":null,"verified":false,"codes":["CVE-2020-11108"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://github.com/Frichetten/CVE-2020-11108-PoC/blob/3559713cfd9fb0c58d0d10c412b8e9c1f6c8eb75/root-cve-2020-11108-rce.py"},{"edbId":48442,"kind":"exploit","title":"Pi-hole < 4.4 - Authenticated Remote Code Execution","url":"https://www.exploit-db.com/exploits/48442","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/48442.py","file":"exploits/linux/webapps/48442.py","published":"2020-05-10","added":"2020-05-11","updated":"2020-05-11","author":"Nick Frichette","type":"webapps","platform":"linux","port":null,"verified":false,"codes":["CVE-2020-11108"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://github.com/Frichetten/CVE-2020-11108-PoC/blob/16cca4100e4e15f903d6cf08afec028bb12cf115/cve-2020-11108-rce.py"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 78.3%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html","source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html","source":"cve@mitre.org"},{"url":"https://frichetten.com/blog/cve-2020-11108-pihole-rce/","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/Frichetten/CVE-2020-11108-PoC","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://frichetten.com/blog/cve-2020-11108-pihole-rce/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/Frichetten/CVE-2020-11108-PoC","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-11108","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}