RCE in Pi-Hole
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.006 (44.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Pi-hole
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (x_refsource_MISC, Vendor Advisory)
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-14162?
- CVE-2020-14162 is a high-severity vulnerability in Pi-Hole, classified under OS Command Injection. CVSS score: 7.8/10. Published 2020-07-30.
- How severe is CVE-2020-14162?
- High severity. CVSS v3 base score is 7.8 out of 10.