nday
CVE-2021-32706 GHSA-5cm9-6p3m-v259

(Authenticated) Remote Code Execution Possible in Web Interface 5.5

pi-hole / AdminLTE

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: metasploit. Not in CISA KEV.

tags weakness typecode injection accessnetworkno user interaction exploitationMetasploit
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-94, stated by the CNA GitHub_M and NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H (CVSS 3.1) from the CNA GitHub_M
Metasploit
Metasploit modules auxiliary/admin/http/pihole_domains_api_exec
stage
POC
disclosed
cvss
7.6 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-08-04T17:50Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the validDomainWildcard preg_match filter allows a malicious character through that can be used to execute code, list directories, and overwrite sensitive files. The issue lies in the fact that one of the periods is not escaped, allowing any character to be used in its place. A patch for this vulnerability was released in version 5.5.1.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 7.6, high.

src cvelist · nday , bulk import · raw
{
  "id": 63248,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-32706",
  "occurred_at": "2021-08-04T17:50:09Z",
  "observed_at": "2026-11-12T20:03:12.555163Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H",
      "version": "3.1",
      "base_score": 7.6,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2021-08-04T17:50:09.000Z",
    "assigner_short_name": "GitHub_M"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module auxiliary/admin/http/pihole_domains_api_exec (Pi-Hole Top Domains API Authenticated Exec). The source gives no release time for the module.

src metasploit auxiliary/admin/http/pihole_domains_api_exec · nday , bulk import · raw
{
  "id": 49614,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/pihole_domains_api_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/admin/http/pihole_domains_api_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/pihole_domains_api_exec.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/admin/http/pihole_domains_api_exec.rb",
    "rank": 300,
    "check": true,
    "title": "Pi-Hole Top Domains API Authenticated Exec",
    "cve_ids": [
      "CVE-2021-32706"
    ],
    "fullname": "auxiliary/admin/http/pihole_domains_api_exec",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-04-15 11:57:01 +0000",
    "vuln_disclosure_date": "2021-08-04"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.