Vulnerabilities
Vulnerable Software
Pi-Hole:  >> Pi-Hole  Security Vulnerabilities
The DNS query log in Pi-hole before 5.2.2 is vulnerable to stored XSS. An attacker with the ability to directly or indirectly query DNS with a malicious hostname can cause arbitrary JavaScript to execute when the Pi-hole administrator visits the Query Log or Long-term data Query Log page.
CVSS Score
6.1
EPSS Score
0.004
Published
2020-12-24
Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection (shell metacharacters after an IP address).
CVSS Score
7.8
EPSS Score
0.006
Published
2020-07-30
An issue was discovered in Pi-Hole through 5.0. The local www-data user has sudo privileges to execute the pihole core script as root without a password, which could allow an attacker to obtain root access via shell metacharacters to this script's setdns command.
CVSS Score
7.8
EPSS Score
0.001
Published
2020-07-30
Pi-hole through 5.0 allows code injection in piholedhcp (the Static DHCP Leases section) by modifying Teleporter backup files and then restoring them. This occurs in settings.php. To exploit this, an attacker would request a backup of limited files via teleporter.php. These are placed into a .tar.gz archive. The attacker then modifies the host parameter in dnsmasq.d files, and then compresses and uploads these files again.
CVSS Score
7.8
EPSS Score
0.001
Published
2020-06-23
CVE-2020-8816
Known exploited
Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard users via a crafted DHCP static lease.
CVSS Score
9.1
EPSS Score
0.908
Published
2020-05-29
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.
CVSS Score
8.8
EPSS Score
0.896
Published
2020-05-11
Pi-Hole 4.3 allows Command Injection.
CVSS Score
8.8
EPSS Score
0.316
Published
2019-10-09


Contact Us

Shodan ® - All rights reserved