What’s Vulnerable › Vulnerabilities

CVE-2021-32706: (Authenticated) Remote Code Execution Possible in Web Interface 5.5

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 products

How to fix

Upgrade to a fixed version: pi-hole 5.5.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-32706 or the next vulnerability affects your stack