Arbitrary file read in Pi-hole



Published: 2024-03-28 | Updated: 2024-04-05
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-28247
CWE-ID CWE-73
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Pi-hole
Web applications / Modules and components for CMS

Vendor Pi-hole

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) External Control of File Name or Path

EUVDB-ID: #VU87908

Risk: Medium

CVSSv3.1: 6.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2024-28247

CWE-ID: CWE-73 - External Control of File Name or Path

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to read arbitrary files on the system.

The vulnerability exists due to application allows an attacker to control path of the files to read when accessing them via the "file://" handler. A remote attacker can send a specially crafted request and read arbitrary files on the system with root privileges.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Pi-hole: 2.0 - 5.17.3

External links

http://github.com/pi-hole/pi-hole/security/advisories/GHSA-95g6-7q26-mp9x
http://github.com/pi-hole/pi-hole/commit/f3af03174e676c20e502a92ed7842159f2fdeb7e
http://github.com/pi-hole/pi-hole/releases/tag/v5.18


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###