CVE-2025-34087
HIGHPi-hole < 3.3 - Authenticated OS Command Injection via Allowlist Domain Parameter
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2025-34087.
PoCs published by h00die, Denis Andzakovic, including Metasploit module exploits/unix/http/pihole_whitelist_exec.
AI-analyzed exploit summary This Metasploit module exploits a command injection vulnerability in Pi-Hole's whitelist functionality, allowing arbitrary command execution by chaining commands to a domain entry. It includes authentication handling and version checking to confirm vulnerability.
Description
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.
Exploits (1)
This Metasploit module exploits a command injection vulnerability in Pi-Hole's whitelist functionality, allowing arbitrary command execution by chaining commands to a domain entry. It includes authentication handling and version checking to confirm vulnerability.
References (5)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H