Exploitation Summary
EIP tracks 1 public exploit for CVE-2021-32706.
PoCs published by h00die, SchneiderSec, including Metasploit module auxiliary/admin/http/pihole_domains_api_exec.
AI-analyzed exploit summary This Metasploit module exploits a command injection vulnerability in Pi-Hole Web Interface <= 5.5 by leveraging improper input validation in the Top Domains/Top Advertisers field. It allows authenticated users to execute arbitrary commands via the gravity functionality.
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.
Exploits (1)
This Metasploit module exploits a command injection vulnerability in Pi-Hole Web Interface <= 5.5 by leveraging improper input validation in the Top Domains/Top Advertisers field. It allows authenticated users to execute arbitrary commands via the gravity functionality.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H