CVE-2021-32706

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*

History

25 Apr 2022, 19:55

Type Values Removed Values Added
CWE CWE-94 NVD-CWE-Other

12 Aug 2021, 15:19

Type Values Removed Values Added
CWE CWE-94
References (MISC) https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1 - (MISC) https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1 - Release Notes, Third Party Advisory
References (CONFIRM) https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-5cm9-6p3m-v259 - (CONFIRM) https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-5cm9-6p3m-v259 - Exploit, Third Party Advisory
CPE cpe:2.3:a:pi-hole:pi-hole:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 6.5
v3 : 8.8

04 Aug 2021, 19:01

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-04 18:15

Updated : 2024-02-04 21:47


NVD link : CVE-2021-32706

Mitre link : CVE-2021-32706

CVE.ORG link : CVE-2021-32706


JSON object : View

Products Affected

pi-hole

  • pi-hole
CWE
NVD-CWE-Other CWE-94

Improper Control of Generation of Code ('Code Injection')