#VU87908 External Control of File Name or Path in Pi-hole


Published: 2024-04-05

Vulnerability identifier: #VU87908

Vulnerability 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

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Pi-hole
Web applications / Modules and components for CMS

Vendor: Pi-hole

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.


Latest bulletins with this vulnerability