CVE-2020-14162

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
Link Resource
https://0xpanic.github.io/2020/07/21/Pihole.html Exploit Third Party Advisory
https://docs.pi-hole.net/core/pihole-command/ Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2020-07-30 14:15

Updated : 2023-12-10 13:27


NVD link : CVE-2020-14162

Mitre link : CVE-2020-14162

CVE.ORG link : CVE-2020-14162


JSON object : View

Products Affected

pi-hole

  • pi-hole
CWE
CWE-269

Improper Privilege Management

CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')