Pi-hole AdminLTE
Pi-Hole AdminLTE Remote Code Execution Vulnerability
Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard users via a crafted DHCP static lease.
First public PoC
20 days beforebefore publication · 10 May 2020
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.1critical · scored by CNA · CWE-78
CISA KEV
10 Dec 20211.5 years after publication
Timeline
Days relative to CVE publicationFirst public PoC 20 days before publication; added to CISA KEV 1.5 years after publication. First PoC: AndreyRainchik/CVE-2020-8816 (created 10 May 2020, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 1 informational · 1 suspicious or fake
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AndreyRainchik/CVE-2020-8816 | 10 May 2020 −20 d | 10 | PoC |
| cybervaca/CVE-2020-8816 | 4 Aug 2020 +67 d | 11 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| MartinSohn/CVE-2020-8816 | 15 Jun 2020 +17 d | 1 | Informational · write-up |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| team0se7en/CVE-2020-8816 | 6 Aug 2020 +69 d | 6 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Pi-hole 4.3.2 - Remote Code Execution (Authenticated) | 4 Aug 2020 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Pi-Hole DHCP MAC OS Command Execution (exploit/unix/http/pihole_dhcp_mac_exec) | 16 May 2020 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposPOST /admin/index.php
- Query
login=- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3Origin: {var}Referer: {var}/admin/index.php?loginUpgrade-Insecure-Requests: 1- Body markers
pw=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0- Seen in
- 2 repos: AndreyRainchik/CVE-2020-8816, cybervaca/CVE-2020-8816
- Evidence
- AndreyRainchik/CVE-2020-8816/CVE-2020-8816.py:14 cybervaca/CVE-2020-8816/CVE-2020-8816.py:50
POST /admin/settings.php
- Query
tab=piholedhcplogin=- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3Origin: {var}Referer: {var}/admin/index.php?loginUpgrade-Insecure-Requests: 1- Body markers
pw=inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0- Seen in
- 2 repos: AndreyRainchik/CVE-2020-8816, cybervaca/CVE-2020-8816
- Evidence
- AndreyRainchik/CVE-2020-8816/CVE-2020-8816.py:55 cybervaca/CVE-2020-8816/CVE-2020-8816.py:60
GET /admin/
- Seen in
- 1 repo: AndreyRainchik/CVE-2020-8816
- Evidence
- AndreyRainchik/CVE-2020-8816/CVE-2020-8816.py:27
GET /admin/settings.php
- Query
tab=piholedhcp- Seen in
- 1 repo: AndreyRainchik/CVE-2020-8816
- Evidence
- AndreyRainchik/CVE-2020-8816/CVE-2020-8816.py:39
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
POST /admin/index.php
(?i)^/admin/index\.php\?(?:.*&)?login=
POST /admin/settings.php
(?i)^/admin/settings\.php\?(?:.*&)?tab=piholedhcp.*login=
GET /admin/
(?i)^/admin/(?:[?#].*)?$
GET /admin/settings.php
(?i)^/admin/settings\.php\?(?:.*&)?tab=piholedhcp
Suricata
Template generated from PoC characteristics. Review before deploying.
POST /admin/index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-8816 Pi-hole AdminLTE exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/index.php"; http.uri; content:"login="; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: es-ES,es|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header_names; content:"Origin"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"pw="; reference:url,poc.griffinguard.io/cve/CVE-2020-8816; classtype:web-application-attack; sid:9683093; rev:1;)
POST /admin/settings.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-8816 Pi-hole AdminLTE exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/settings.php"; http.uri; content:"tab=piholedhcp"; http.uri; content:"login="; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: es-ES,es|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header_names; content:"Origin"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"pw="; reference:url,poc.griffinguard.io/cve/CVE-2020-8816; classtype:web-application-attack; sid:9114646; rev:1;)
GET /admin/
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-8816 Pi-hole AdminLTE exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/"; reference:url,poc.griffinguard.io/cve/CVE-2020-8816; classtype:web-application-attack; sid:9469451; rev:1;)
GET /admin/settings.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-8816 Pi-hole AdminLTE exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/settings.php"; http.uri; content:"tab=piholedhcp"; reference:url,poc.griffinguard.io/cve/CVE-2020-8816; classtype:web-application-attack; sid:9743184; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
POST /admin/index.php
title: Pi-hole AdminLTE exploit attempt (CVE-2020-8816)
id: gg-pocmon-cve-2020-8816-9683093
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-8816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-8816
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/admin/index.php'
cs-uri-query|contains|all:
- 'login='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.8816
POST /admin/settings.php
title: Pi-hole AdminLTE exploit attempt (CVE-2020-8816)
id: gg-pocmon-cve-2020-8816-9114646
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-8816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-8816
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/admin/settings.php'
cs-uri-query|contains|all:
- 'tab=piholedhcp'
- 'login='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.8816
GET /admin/
title: Pi-hole AdminLTE exploit attempt (CVE-2020-8816)
id: gg-pocmon-cve-2020-8816-9469451
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-8816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-8816
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/admin/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.8816
GET /admin/settings.php
title: Pi-hole AdminLTE exploit attempt (CVE-2020-8816)
id: gg-pocmon-cve-2020-8816-9743184
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-8816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-8816
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/admin/settings.php'
cs-uri-query|contains|all:
- 'tab=piholedhcp'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.8816