nday
CVE-2025-34087

Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution

Pi-hole LLC / Web

Divulgation : . nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : metasploit. Aucune inscription au catalogue KEV de la CISA à ce jour.

tags weakness typecommand 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.

command injection
CWE-78, stated by the CNA VulnCheck et NVD, republishing [email protected]
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H (CVSS 4.0) from the CNA VulnCheck
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H (CVSS 4.0) from the CNA VulnCheck
Metasploit
Metasploit modules exploit/unix/http/pihole_whitelist_exec
étape actuelle
POC
divulgation
CVSS
9.0 CRITICAL v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2025-07-03T19:46Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
metasploit
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

An authenticated command injection vulnerability exists in Pi-hole versions up to 3.3. When adding a domain to the allowlist via the web interface, the domain parameter is not properly sanitized, allowing an attacker to append OS commands to the domain string. These commands are executed on the underlying operating system with the privileges of the Pi-hole service user.

This behavior was present in the legacy AdminLTE interface and has since been patched in later versions.

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 target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS 4.0 vector from the CVE record, scored by the CNA VulnCheck.

Journal des événements

+DISdivulgation

Fiche CVE publiée par VulnCheck. CVSS 9, gravité critique.

source cvelist · importé en masse par nday le · brut
{
  "id": 3057,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-34087",
  "occurred_at": "2025-07-03T19:46:49.017Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "version": "4.0",
      "base_score": 9,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-07-07T19:08:39.309854Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-07-03T19:46:49.017Z",
    "assigner_short_name": "VulnCheck"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/unix/http/pihole_whitelist_exec (« Pi-Hole Whitelist OS Command Execution »). La source n’indique pas la date de publication du module.

source metasploit exploit/unix/http/pihole_whitelist_exec · importé en masse par nday le · brut
{
  "id": 51692,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/pihole_whitelist_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/unix/http/pihole_whitelist_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/pihole_whitelist_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/unix/http/pihole_whitelist_exec.rb",
    "rank": 600,
    "check": true,
    "title": "Pi-Hole Whitelist OS Command Execution",
    "cve_ids": [
      "CVE-2025-34087"
    ],
    "fullname": "exploit/unix/http/pihole_whitelist_exec",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:59:31 +0000",
    "vuln_disclosure_date": "2018-04-15"
  }
}

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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.