Pi-hole Admin Interface
CVE-2025-59151
HIGH
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Unauthenticated network request to an unsanitized .lp redirect (AV:N/AC:L/PR:N/UI:N); response splitting gives high integrity impact, minor availability effect, and no confidentiality impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
3DescriptionCVE.org
Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level advertisement and internet tracker blocking application. Pi-hole Admin Interface before 6.3 is vulnerable to Carriage Return Line Feed (CRLF) injection. When a request is made to a file ending with the .lp extension, the application performs a redirect without properly sanitizing the input. An attacker can inject carriage return and line feed characters (%0d%0a) to manipulate both the headers and the content of the HTTP response. This enables the injection of arbitrary HTTP response headers, potentially leading to session fixation, cache poisoning, and the weakening or bypassing of browser-based security mechanisms such as Content Security Policy or X-XSS-Protection. This vulnerability is fixed in 6.3.
AnalysisAI
HTTP response splitting in Pi-hole Admin Interface before 6.3 lets unauthenticated remote attackers inject CRLF sequences (%0d%0a) into redirects generated for requests to resources ending in the .lp extension, thereby manipulating HTTP response headers and body content. The injected headers can facilitate session fixation, cache poisoning, and the weakening or bypass of browser protections such as Content Security Policy and X-XSS-Protection, although the most damaging downstream effects generally require a victim to subsequently load the manipulated response. Publicly available exploit code exists, but the flaw has not been confirmed as actively exploited (CISA KEV), and EPSS is low at 0.44% (36th percentile); real-world exposure is further limited because many Pi-hole web interfaces are restricted to local networks rather than the public internet.
Technical ContextAI
The vulnerability is a classic CRLF injection (CWE-93) leading to HTTP response splitting. Pi-hole Admin Interface is the PHP-based web front end for the Pi-hole DNS sinkhole; when a request targets a file with the .lp extension, the application issues a redirect using unsanitized input, so attacker-supplied %0d%0a sequences terminate the header block prematurely and allow arbitrary headers plus a fabricated body to be appended to the response. Because the response originates from the trusted admin origin, any injected script or metadata inherits that origin's trust, which is why the flaw can undermine CSP, X-XSS-Protection, and similar browser-side defenses, and can poison shared caches or fixate sessions. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L confirms a network-reachable, unauthenticated, low-complexity attack that spans no privilege boundary and primarily threatens integrity (I:H) with some availability impact (A:L) and no confidentiality impact; the associated CPE cpe:2.3:a:pi-hole:web_interface:*:*:*:*:*:*:*:* indicates all releases prior to the 6.3 fix are in scope.
RemediationAI
The primary fix is to upgrade the Pi-hole Admin Interface to version 6.3, which resolves the CRLF injection (Vendor-released patch: 6.3) and is documented in the vendor advisory at https://github.com/pi-hole/web/security/advisories/GHSA-5v79-p56f-x7c4. Until upgrading, reduce exposure by restricting the admin interface to trusted networks or a VPN so untrusted clients cannot reach the redirect endpoint, since network reachability is the main limiting factor for exploitation and closing it eliminates the attack surface at the cost of losing remote administrative access. If remote UI access is required, place the interface behind a reverse proxy that rejects or strips CR/LF (%0d%0a, %0a, %0d) characters from request paths and enforces normalized URL handling; this is a compensating control only and can be bypassed by encoding variants, so it must not substitute for the 6.3 upgrade. Also avoid caching responses from the admin origin in shared or intermediary caches and treat any suspicious session state as potentially fixated, since the flaw enables response splitting and cache poisoning once a crafted .lp request is processed.
Pi-hole versions up to 3.3 contain an authenticated command injection via the domain allowlist functionality. When addin
The Gravity updater in Pi-hole through 4.4 allows an authenticated adversary to upload arbitrary files. Rated high sever
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated medium severity (CVSS 6.
Pi-hole Web v4.3.2 (aka AdminLTE) allows Remote Code Execution by privileged dashboard users via a crafted DHCP static l
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. Rated
Pi-hole®'s Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole. Rated high severity
Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Rate
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Rated high severity (CVSS 8.8)
An issue was discovered in Pi-Hole through 5.0. Rated high severity (CVSS 7.8), this vulnerability is low attack complex
Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection
Pi-hole before 6 allows unauthenticated admin/api.php?setTempUnit= calls to change the temperature units of the web dash
adminlte is vulnerable to Sensitive Cookie Without 'HttpOnly' Flag. Rated high severity (CVSS 7.5), this vulnerability i
Share
External POC / Exploit Code
Leaving vuln.today