Arbitrary file upload in Pi-Hole
CVE-2020-11108
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.783 (99.6th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.783 · newest: 0.783 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- frichetten.com/blog/cve-2020-11108-pihole-rce/ (Exploit, Third Party Advisory)
- github.com/Frichetten/CVE-2020-11108-PoC (Exploit, Third Party Advisory)
- packetstormsecurity.com/files/157623/Pi-hole-4.4-Remote-Code-Execution.html (Exploit, VDB Entry, Third Party Advisory)
- packetstormsecurity.com/files/157624/Pi-hole-4.4-Remote-Code-Execution-Privileg… (Exploit, VDB Entry, Third Party Advisory)
- packetstormsecurity.com/files/157748/Pi-Hole-heisenbergCompensator-Blocklist-OS…
- packetstormsecurity.com/files/157839/Pi-hole-4.4.0-Remote-Code-Execution.html
Frequently asked questions
- What is CVE-2020-11108?
- CVE-2020-11108 is a high-severity vulnerability in Pi-Hole, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2020-05-11.
- How severe is CVE-2020-11108?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2020-11108 known to be exploited?
- 13 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.