{"schemaVersion":3,"id":"CVE-2020-11108","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-05-11T14:42:04.000Z","modified":"2024-08-04T11:21:14.619Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.78262,"percentile":0.99581,"severity":"critical","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.78262},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.78262,"percentile":0.99581}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.78262,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.78262,"percentile":0.99581}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_FRICHETTEN_CVE-2020-11108-POC","name":"Cve 2020 11108 Poc","source":"github","url":"https://github.com/Frichetten/CVE-2020-11108-PoC","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_53F36734F25B5094","name":"Exploit Reference (frichetten.com)","source":"reference","url":"https://frichetten.com/blog/cve-2020-11108-pihole-rce/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_140B07D3F379BD60","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_FEA01781C0C34507","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"48519","name":"Pi-hole 4.4.0 - Remote Code Execution (Authenticated)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/48519","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"linux","file":"exploits/linux/webapps/48519.py","codes":["CVE-2020-11108"]},"metasploit":null},{"id":"48442","name":"Pi-hole < 4.4 - Authenticated Remote Code Execution","source":"exploit-database","url":"https://www.exploit-db.com/exploits/48442","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"linux","file":"exploits/linux/webapps/48442.py","codes":["CVE-2020-11108"]},"metasploit":null},{"id":"48443","name":"Pi-hole < 4.4 - Authenticated Remote Code Execution / Privileges Escalation","source":"exploit-database","url":"https://www.exploit-db.com/exploits/48443","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"linux","file":"exploits/linux/webapps/48443.py","codes":["CVE-2020-11108"]},"metasploit":null},{"id":"48491","name":"Pi-Hole - heisenbergCompensator Blocklist OS Command Execution (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/48491","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"php","file":"exploits/php/remote/48491.rb","codes":["CVE-2020-11108"]},"metasploit":null},{"id":"MSF_EXPLOIT_UNIX_HTTP_PIHOLE_BLOCKLIST_EXEC","name":"Pi-Hole heisenbergCompensator Blocklist OS Command Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/unix/http/pihole_blocklist_exec.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/unix/http/pihole_blocklist_exec","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","config-changes"],"reliability":["repeatable-session"]}}],"exploitCount":9,"weaknesses":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type","description":"The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/434.html"}],"affected":[{"vendor":"pi-hole","product":"pi-hole","name":"pi-hole","label":"pi-hole","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.4","eol":null,"hubHref":"/vendor/pi-hole/pi-hole"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://frichetten.com/blog/cve-2020-11108-pihole-rce/","label":"frichetten.com/blog/cve-2020-11108-pihole-rce/","hostname":"frichetten.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://github.com/Frichetten/CVE-2020-11108-PoC","label":"github.com/Frichetten/CVE-2020-11108-PoC","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html","label":"packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html","label":"packetstormsecurity.com/files/…","hostname":"packetstormsecurity.com","tags":["X Refsource MISC"]},{"url":"http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-05-11T14:42:04.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T11:21:14.619Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T19:32:15.042Z","stale":false,"partial":false}}