CVE-2025-34087
CVE-2025-34087
9.0
CriticalPublished:
Last updated:
Source:disclosure@vulncheck.com
Analyzed
Weakness (CWE)
CVSS Vector
v4.0- Attack Vector
- Network
- Attack Complexity
- Low
- Attack Requirements
- Present
- Privileges Required
- Low
- User Interaction
- None
- Confidentiality (Vulnerable)
- High
- Integrity (Vulnerable)
- High
- Availability (Vulnerable)
- High
- Confidentiality (Subsequent)
- High
- Integrity (Subsequent)
- High
- Availability (Subsequent)
- High
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.
References
disclosure@vulncheck.com
https://github.com/pi-hole/web/releases/tag/v4.0disclosure@vulncheck.com
https://pi-hole.net/disclosure@vulncheck.com
https://pulsesecurity.co.nz/advisories/pihole-v3.3-vulnsdisclosure@vulncheck.com
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/pihole_whitelist_exec.rbdisclosure@vulncheck.com
https://vulncheck.com/advisories/pihole-adminlte-whitelist-rce