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 trend (30 days)EPSS over the last 30 days for CVE-2020-11108: held from 0.783 to 0.783.

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

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.