Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pi-Hole | Pi-Hole | <= 5.0 |
Related Weaknesses (CWE)
References
- https://blog.telspace.co.za/2020/06/pi-hole-code-injection-cve-2020-14971.htmlThird Party Advisory
- https://github.com/pi-hole/AdminLTE/commit/8f6e1365b6dec0ae1aa0b0b15b102c9133f34PatchThird Party Advisory
- https://github.com/pi-hole/AdminLTE/commit/c949516ee15fa6a9b0c8511cc4c4d6b0893f3PatchThird Party Advisory
- https://github.com/pi-hole/AdminLTE/pull/1443Third Party Advisory
- https://blog.telspace.co.za/2020/06/pi-hole-code-injection-cve-2020-14971.htmlThird Party Advisory
- https://github.com/pi-hole/AdminLTE/commit/8f6e1365b6dec0ae1aa0b0b15b102c9133f34PatchThird Party Advisory
- https://github.com/pi-hole/AdminLTE/commit/c949516ee15fa6a9b0c8511cc4c4d6b0893f3PatchThird Party Advisory
- https://github.com/pi-hole/AdminLTE/pull/1443Third Party Advisory
FAQ
What is CVE-2020-14971?
CVE-2020-14971 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ...
How severe is CVE-2020-14971?
CVE-2020-14971 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-14971?
Check the references section above for vendor advisories and patch information. Affected products include: Pi-Hole Pi-Hole.