Pi-hole 5.0 Vulnerability: Code Injection via Teleporter Backup Files

Pi-hole 5.0 Vulnerability: Code Injection via Teleporter Backup Files

CVE-2020-14971 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.