CVE DatabaseCVE-2020-8816
한국어 권고문 →
CVE-2020-88167.2/HIGHCISA KEVCWE-78CWE-78

Pi-hole Web AdminLTE v4.3.2 DHCP Static Lease Remote Code Execution Vulnerability (CVE-2020-8816)

⚡ Jump to Patch
Affected Vendors
pi-hole
Affected Components
adminlte, pi-hole
Published Date
2020-05-29
CVSS v3.1
7.2
HIGH
EPSS (30d)
78.3%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Pi-hole Web v4.3.2 (AdminLTE) and prior versions

Impact

A privileged dashboard user can execute arbitrary system commands on the underlying operating system via a crafted DHCP static lease input.

Mitigation

Immediately upgrade Pi-hole AdminLTE to version v4.3.3 or later, and restrict access to the admin dashboard.

Affected Products & Version Scope

Pi-hole Web (AdminLTE) v4.3.2 and earlier versions (requires DHCP enabled and administrative privileges)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official security patch by upgrading Pi-hole to version v4.3.3 or later. Run the following command in your terminal to update all Pi-hole components:

bash
# Upgrade Pi-hole to the latest secure version
pihole -up

2. Temporary Workaround & Hardening Configuration

If an immediate upgrade is not feasible, restrict access to the Pi-hole web admin interface using firewall rules, allowing only trusted administrator IP addresses to connect.

bash
# Restrict access to port 80 (HTTP) to a specific trusted IP (e.g., 192.168.1.100) using UFW
sudo ufw deny 80/tcp
sudo ufw allow from 192.168.1.100 to any port 80 proto tcp
sudo ufw reload

3. Log Audit & IoC Verification Commands

Verify the currently installed version of AdminLTE and inspect the web server logs for any suspicious activities or shell metacharacters in DHCP configuration requests.

bash
# Check the current version of AdminLTE
cd /var/www/html/admin && git describe --tags

# Scan lighttpd access logs for potential command injection attempts in DHCP requests
grep -Ei 'addstatic|dhcp' /var/log/lighttpd/access.log | grep -E '[;`|&]'
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Due to active exploitation risks (CISA KEV), immediately upgrade your Pi-hole installation to AdminLTE v4.3.3 or higher.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2020-8816) is an OS Command Injection vulnerability (CWE-78) residing in Pi-hole Web AdminLTE v4.3.2. Pi-hole serves as a network-wide ad-blocker, DNS, and DHCP server, offering a web-based dashboard for configuration. The root cause of this vulnerability is the lack of proper input validation and sanitization on user-supplied fields (such as MAC addresses or hostnames) within the DHCP static lease configuration page before passing them to system shell commands.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first obtain authenticated access to the Pi-hole web dashboard with administrative privileges. Once authenticated, the attacker navigates to the DHCP settings page and attempts to add a new static lease. By injecting shell metacharacters (such as ';', '|', or '`') along with a malicious payload (e.g., a reverse shell command) into the MAC address input field, the attacker forces the backend PHP script to execute the injected commands with the privileges of the web server user (typically www-data) when the configuration is applied.

3. Infrastructure & Business Impact

As this vulnerability is listed in the CISA KEV (Known Exploited Vulnerabilities) catalog, it represents a highly practical and actively exploited threat. Successful exploitation grants the attacker arbitrary code execution on the Pi-hole server. Since Pi-hole typically acts as a critical infrastructure component (DNS/DHCP) within the local network, compromising it allows attackers to perform DNS hijacking, intercept sensitive network traffic, or pivot deeper into the internal network.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2020-8816)

FAQ

Q1. How critical is CVE-2020-8816 and is it actively exploited in the wild?

CVE-2020-8816 is rated CVSS 7.2 (HIGH) with a 30-day EPSS exploitation probability of 78.3%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2020-8816?

Primary impacted vendors include pi-hole across adminlte, pi-hole. Scope summary: Pi-hole Web (AdminLTE) v4.3.2 and earlier versions (requires DHCP enabled and administrative privileges)

Q3. What temporary mitigations or workarounds exist for CVE-2020-8816 before patching?

[Mitigation] Immediately upgrade Pi-hole AdminLTE to version v4.3.3 or later, and restrict access to the admin dashboard. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2020-8816

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (pi-hole)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2020-8816 Pi-hole Web AdminLTE v4.3.2 DHCP Static Lease Remote Code Execution Vulnerability (CVE-2020-8816) (CVSS 7.2) - Patch & Workaround | CVE Pulse