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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2020-05-11T14:42:04

Updated: 2024-08-04T11:21:14.619Z

Reserved: 2020-03-30T00:00:00

Link: CVE-2020-11108

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-05-11T15:15:11.353

Modified: 2020-05-27T18:15:12.877

Link: CVE-2020-11108

cve-icon Redhat

No data.