CVE-2020-8816 — Pi-Hole AdminLTE Remote Code Execution Vulnerability

CVE-2020-8816

Pi-hole AdminLTE — Authenticated Dashboard RCE via a Crafted DHCP Static Lease Entry

What is Pi-hole?

Pi-hole is a popular open-source, self-hosted DNS sinkhole used to block ads and trackers network-wide, commonly run on a Raspberry Pi or similar small device at home or in a small office. AdminLTE is the web dashboard used to configure Pi-hole, including DHCP settings for the local network.

Overview

CVE-2020-8816 is a remote code execution vulnerability (CWE-78) in Pi-hole's AdminLTE dashboard (version 4.3.2). A privileged dashboard user — someone who already has legitimate access to the Pi-hole web admin panel — can trigger command injection by submitting a crafted DHCP static lease entry (CVSS 3.1: AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, 7.2 High). The "High" privileges-required rating reflects that exploitation depends on already having dashboard access, a materially different risk profile from an unauthenticated bug.

Technical Details

The DHCP static lease configuration feature accepts user-supplied values (such as a MAC address or hostname) that are passed into a system-level command without adequate sanitization, allowing an attacker with dashboard access to inject and execute arbitrary shell commands on the underlying device.

Discovery

Publicly tracked via NVD; fixed by the Pi-hole project in a subsequent release of the AdminLTE web interface.

Exploitation Context

CISA added this CVE to KEV in December 2021 based on confirmed exploitation. Because exploitation requires existing dashboard credentials, real-world attacks likely depend on an attacker first obtaining access through weak or default Pi-hole admin passwords, or through a Pi-hole instance whose dashboard was inadvisably exposed to the internet rather than restricted to the local network.

Remediation

  1. Update Pi-hole and the AdminLTE web interface to the latest available version immediately.
  2. Never expose the Pi-hole admin dashboard to the internet — it should only be reachable from the local trusted network it serves.
  3. Use a strong, unique password for the Pi-hole admin dashboard, since this vulnerability's real-world exploitability depends entirely on an attacker first obtaining dashboard access.
  4. Audit DHCP static lease entries for unexpected or unfamiliar entries if the dashboard was ever exposed or used a weak password.

Key Details

PropertyValue
CVE ID CVE-2020-8816
Vendor / Product Pi-hole — AdminLTE
NVD Published2020-05-29
NVD Last Modified2025-11-10
CVSS 3.1 Score7.2
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
SeverityHIGH
CWE CWE-78 find similar ↗
CISA KEV Added2021-12-10
CISA KEV Deadline2022-06-10
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-06-10. Apply updates per vendor instructions.

Timeline

DateEvent
2020-05-29CVE published; fixed in a subsequent AdminLTE release
2021-12-10Added to CISA Known Exploited Vulnerabilities catalog
2022-06-10CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2020-8816 Vulnerability Database
CISA KEV Catalog Entry US Government