CVE-2025-34087: Pi-Hole AdminLTE Whitelist (now 'Web Allowlist') Remote Command Execution
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-34087?
CVE-2025-34087 is classified as a high-severity vulnerability due to its potential for remote command execution.
How do I fix CVE-2025-34087?
To fix CVE-2025-34087, upgrade Pi-hole to version 4.0 or later, which addresses the command injection vulnerability.
What versions of Pi-hole are affected by CVE-2025-34087?
CVE-2025-34087 affects all Pi-hole versions up to and including 3.3.
What type of attacks can exploit CVE-2025-34087?
CVE-2025-34087 can be exploited through authenticated command injection, allowing attackers to execute arbitrary OS commands via the web interface.
Is authentication required to exploit CVE-2025-34087?
Yes, exploitation of CVE-2025-34087 requires authenticated access to the Pi-hole web interface.