Pi-hole
Pi-hole: Local privilege escalation from `pihole` user to root via `/etc/pihole/logrotate`
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. From 6.0 to 6.4.2, a user with code execution as the unprivileged pihole user can escalate to root by replacing /etc/pihole/logrotate. The replacement is laundered to root:root ownership by pihole-FTL-prestart.sh and then parsed as root by the daily pihole flush cron, executing firstaction shell as uid 0. This issue is fixed in version 6.4.3.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-282
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
pi-hole pi-hole
- >= 6.0.0, < 6.4.3
Fixed in 6.4.3
Mitigation
Upgrade pi-hole to 6.4.3 or later.
References
- Vendor advisory github.com/pi-hole/pi-hole/security/advisories…
- Patch github.com/pi-hole/pi-hole/commit/18002bf7c6bf…
- Release notes github.com/pi-hole/pi-hole/releases/tag/v6.4.3
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.