// For flags

CVE-2024-28247

Pihole Authenticated Arbitrary File Read with root privileges

Severity Score

7.6
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Attend
*SSVC
Descriptions

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.

Pi-hole es un sumidero de DNS que protege sus dispositivos de contenido no deseado sin instalar ningún software del lado del cliente. Se ha descubierto una vulnerabilidad en Pihole que permite a un usuario autenticado en la plataforma leer archivos internos del servidor de forma arbitraria y, debido a que la aplicación se ejecuta desde atrás, la lectura de archivos se realiza como un usuario privilegiado. Si la URL que está en la lista de "Adslists" "comienza con "archivo*" se entiende que está actualizando desde un archivo local, en cambio si no comienza con "archivo*" dependiendo del estado de la respuesta hace una cosa u otra. El problema reside en la actualización mediante archivos locales. Al actualizar desde un archivo que contiene líneas que no son de dominio, 5 de las líneas que no son de dominio se imprimen en la pantalla, por lo que si le proporciona cualquier archivo en el servidor que contenga líneas que no son de dominio, las imprimirá en la pantalla. Esta vulnerabilidad está solucionada en 5.18.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
* Common Vulnerability Scoring System
SSVC
  • Decision:Attend
Exploitation
Poc
Automatable
No
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2024-03-07 CVE Reserved
  • 2024-03-27 CVE Published
  • 2024-03-28 EPSS Updated
  • 2024-03-31 First Exploit
  • 2024-08-13 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-269: Improper Privilege Management
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Pi-hole
Search vendor "Pi-hole"
Pi-hole
Search vendor "Pi-hole" for product "Pi-hole"
< 5.18
Search vendor "Pi-hole" for product "Pi-hole" and version " < 5.18"
en
Affected