Security Resilience

CVE-2024-28247

Info Disclosure in Pi-Hole ≤ 5.18

Public PoCInfo Disclosure
Published
27 March 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
EPSS Score 0.014 73th percentile
Risk Priority 64 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-28247 is a high-severity Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) vulnerability in Pi-Hole. Its CVSS base score is 7.6 (High).

Operationally, ranked in the top 27% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-2 (Account Management) and AC-24 (Access Control Decisions) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Pi-hole, the open-source DNS sinkhole used for network-wide ad blocking, contains an arbitrary file-read flaw in its adlist update handling. When an authenticated user supplies an adlist URL beginning with "file://", the update routine treats the target as a local file and echoes up to five non-domain lines from that file back to the administrative interface. Because the Pi-hole services run with elevated privileges, this exposure occurs with the permissions of the privileged process rather than the authenticated user's own rights.

An attacker who already possesses a valid Pi-hole administrative account can therefore add a crafted local-file adlist pointing to any readable path on the server (for example /etc/shadow, configuration files, or other sensitive data). The resulting output discloses the selected file contents, satisfying the confidentiality component of the reported CVSS 7.6 vector while also permitting limited integrity and availability impact through subsequent misuse of the obtained information.

The project addressed the issue in release 5.18; the fix is documented in GitHub security advisory GHSA-95g6-7q26-mp9x and the corresponding commit that prevents printing of non-domain lines during local-file updates. The associated EPSS score has remained flat at 0.0714 with no material post-disclosure increase.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

The Pi-hole is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software. A vulnerability has been discovered in Pihole that allows an authenticated user on the platform to read internal server files arbitrarily, and…

more

because the application runs from behind, reading files is done as a privileged user.If the URL that is in the list of "Adslists" begins with "file*" it is understood that it is updating from a local file, on the other hand if it does not begin with "file*" depending on the state of the response it does one thing or another. The problem resides in the update through local files. When updating from a file which contains non-domain lines, 5 of the non-domain lines are printed on the screen, so if you provide it with any file on the server which contains non-domain lines it will print them on the screen. This vulnerability is fixed by 5.18.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-33727Same product: Pi-Hole Pi-Hole
CVE-2023-23629Shared CWE-200, CWE-269
CVE-2026-70942Shared CWE-200, CWE-269
CVE-2026-48210Shared CWE-200, CWE-269
CVE-2026-70943Shared CWE-200, CWE-269
CVE-2026-28976Shared CWE-200, CWE-269
CVE-2026-62453Shared CWE-200, CWE-269
CVE-2026-55485Shared CWE-200, CWE-269
CVE-2025-53003Shared CWE-200, CWE-269
CVE-2026-61216Shared CWE-200, CWE-269

Affected Assets

pi-hole
pi-hole
≤ 5.18

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Access enforcement directly stops unauthorized actors from obtaining sensitive information.

Information flow enforcement structurally prevents sensitive data from reaching unauthorized recipients.

Protection of information at rest prevents unauthorized exposure of stored sensitive data.

Transmission confidentiality mechanisms stop exposure of sensitive data on the wire.

Account management directly governs assignment and tracking of privileges so proper implementation stops the weakness from being introduced.

Requiring explicit access-control decisions ensures privileges are evaluated rather than assumed or omitted.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.2 directly controls the identification, allocation, review, expiry, temporary use, and separation of privileged rights per policy, which prevents most improper privilege management (CWE-269) by design; the bounded remainder is flawed tracking/checking logic inside the product's own enforcement code (the AC-3 slice of 269).

finds

Penetration testing and vulnerability scanning are performed to discover unintended exposure of sensitive data resulting from misconfigurations or coding errors.

blocks

Restricting anonymous or unknown access and encrypting high-value information limits the exposure of sensitive data that would otherwise be obtainable by unauthorized actors.

blocks

By requiring removal or masking of sensitive operational data before it enters test environments, the control sharply reduces the chance that such data will be exposed to unauthorized actors who have access to those environments.

A.8.11 Data masking partial match
blocks

Data masking hides sensitive data from unauthorized viewers, blocking exploitation of the exposure for masked data, but it only covers data that is explicitly masked and does not address exposures from error messages, debug logs, or indirect information leaks.

finds

By continuously inspecting data flows and blocking transmissions that contain classified sensitive content, the control stops the unauthorized release of information that would otherwise occur through missing or bypassed access-control checks.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

References