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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.006 (45.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 45.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
Weakness classification (CWE)
References
- docs.pi-hole.net/core/pihole-command/ (Vendor Advisory)
- 0xpanic.github.io/2020/07/21/Pihole.html (Exploit, Third Party Advisory)
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.