{"id":"CVE-2020-11108","details":"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.","modified":"2026-08-07T15:11:32.723399Z","published":"2020-05-11T15:15:11.353Z","references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS-Command-Execution.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privilege-Escalation.html"},{"type":"EVIDENCE","url":"https://frichetten.com/blog/cve-2020-11108-pihole-rce/"},{"type":"EVIDENCE","url":"https://github.com/Frichetten/CVE-2020-11108-PoC"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pi-hole/pi-hole","events":[{"introduced":"0"},{"last_affected":"9e490775ff3b20f378acc9db7cec2ae6023fff7f"}],"database_specific":{"cpe":"cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"4.4"}],"source":"CPE_RANGE"}}],"versions":["v4.4","v4.3.5","v4.3.4","v4.3.3","v4.3.2","v4.3.1","v4.3","v4.2.2","v4.2.1","v4.2","v4.1.1","v4.1","v4.0","v3.3.1","v3.3","v3.2.1","v3.2","v3.1.4","v3.1","v3.0.1","v3.0","v2.13.2","v2.13.1","v2.13","v2.12.1","v2.12","v2.11.2","v2.11.1","v2.11","v2.10.2","v2.10.1","v2.10","v2.9.5","v2.9.4a","v2.9.4","v2.9.3","V2.9.2","V2.9.1","v2.9","v2.8.1","2.8","v2.7.1","v2.7","v2.6.3","v2.6.2","v2.6.1.2","v2.6.1.1","v2.6.1","v2.6","v2.5.3","v2.5.2","V2.5.1","v2.4","v2.3","v2.2","v2.1","2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11108.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}