CVE-2024-28247
published high CVSS 3.1 · 7.6Pihole Authenticated Arbitrary File Read with root privileges
Package status and fixes
Description
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 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pi-hole | pi-hole | > 5.18 (affected) | GitHub_M · cna |
| pi-hole | pi-hole | 0 to < 5.18 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-269 CWE-269: Improper Privilege Management
References
2Provider assertions
3GitHub_M · cna
Pihole Authenticated Arbitrary File Read with root privileges
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e1c9624e4ac5fc3a62baf39035a49b8947cdca092a272e5d5598f5676961b561
- Ingested
- 23 Sep 2026, 08:21:01 UTC
- Source record
- Official CVE record