CVE-2020-14162
HIGHPi-Hole < 5.1 - OS Command Injection via setdns Command
Title source: llmDescription
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.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_misc
https://docs.pi-hole.net/core/pihole-command/
Exploit, Third Party Advisory x_refsource_misc
https://0xpanic.github.io/2020/07/21/Pihole.html
Scores
CVSS v3
7.8
EPSS
0.0059
EPSS Percentile
43.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-269
CWE-78
Status
published
Products (1)
pi-hole/pi-hole
< 5.1
Published
Jul 30, 2020
Tracked Since
Feb 18, 2026