CVE-2024-28247 is a vulnerability in Pi-hole, a DNS sinkhole platform, that allows an authenticated user to read arbitrary internal server files. The vulnerability is triggered when updating adlists from a local file (using a URL beginning with 'file*'). If the specified file contains non-domain lines, up to five of these lines are printed to the screen, potentially exposing sensitive file contents. The application runs with elevated privileges, increasing the risk of sensitive data exposure.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a working exploit for CVE-2024-28247, a vulnerability in Pi-hole (<=5.17.3) that allows authenticated users to read arbitrary files on the server via the web admin interface. The exploit is implemented in Python (exploit.py) and requires the attacker to know the admin password for the Pi-hole instance. The script performs the following steps: logs into the admin interface, extracts a CSRF token, injects a file:// URI (such as file:///etc/shadow) as an adlist, and then retrieves the contents of the file via a subsequent request. The repository includes a README.md with usage instructions and a requirements.txt listing dependencies (requests, beautifulsoup4, urllib3). The main entry point is exploit.py. The exploit targets the Pi-hole web interface and leverages several HTTP endpoints to perform the attack. The exploit is operational and demonstrates the ability to read sensitive files from the target system.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.