7.6high
(Authenticated) Remote Code Execution Possible in Web Interface 5.5
- Severity
- 7.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 60.2% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the `validDomainWildcard` preg_match filter allows a malicious character through that can be used to execute code, list directories, and overwrite sensitive files. The issue lies in the fact that one of the periods is not escaped, allowing any character to be used in its place. A patch for this vulnerability was released in version 5.5.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pi-hole AdminLTE | < 5.5.1 | CVE List |
| pi-hole pi-hole | before 5.5.1 | NVD |
All scores
| GitHub_M | 7.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
Pi-hole's Web interface provides a central location to manage a Pi-hole instance and review performance statistics. Prior to Pi-hole Web interface version 5.5.1, the `validDomainWildcard` preg_match filter allows a malicious character through that can be used to execute code, list directories, and overwrite sensitive files. The issue lies in the fact that one of the periods is not escaped, allowing any character to be used in its place. A patch for this vulnerability was released in version 5.5.1.
NVD (es)
La interfaz web de Pi-hole proporciona una ubicación central para administrar una instancia de Pi-hole y revisar las estadísticas de rendimiento. Anterior a versión 5.5.1 de la interfaz web de Pi-hole, el filtro "validDomainWildcard" preg_match permite el paso de un carácter malicioso que puede ser usado para ejecutar código, listar directorios y sobrescribir archivos confidenciales. El problema radica en que uno de los puntos no se escapa, permitiendo usar cualquier carácter en su lugar. En versión 5.5.1 se publicó un parche para esta vulnerabilidad
References
| https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-5cm9-6p3m-v259 | exploit, third-party-advisory | |
| https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1 | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32706 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-32706 changed 2026-06-17 | Public domain |