What’s Vulnerable › Vulnerabilities
CVE-2020-14971
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-06-23 · updated 2026-06-17
- Weakness: CWE-862
Description
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.
Affected products
- pi-hole: through 5.0
References
- https://blog.telspace.co.za/2020/06/pi-hole-code-injection-cve-2020-14971.html
- https://github.com/pi-hole/AdminLTE/commit/8f6e1365b6dec0ae1aa0b0b15b102c9133f347e5
- https://github.com/pi-hole/AdminLTE/commit/c949516ee15fa6a9b0c8511cc4c4d6b0893f3e69
- https://github.com/pi-hole/AdminLTE/pull/1443
- https://blog.telspace.co.za/2020/06/pi-hole-code-injection-cve-2020-14971.html
- https://github.com/pi-hole/AdminLTE/commit/8f6e1365b6dec0ae1aa0b0b15b102c9133f347e5
- https://github.com/pi-hole/AdminLTE/commit/c949516ee15fa6a9b0c8511cc4c4d6b0893f3e69
- https://github.com/pi-hole/AdminLTE/pull/1443
Get alerted when CVE-2020-14971 or the next vulnerability affects your stack