{"vulnerability": "CVE-2021-32706", "sightings": [{"uuid": "d893f2c6-f44e-4148-8f51-dce7ad4f2a2e", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-32706", "type": "seen", "source": "MISP/a1e796df-2ad8-4c8d-8b69-737a004e72dd", "content": "", "creation_timestamp": "2025-02-06T03:13:45.000000Z"}, {"uuid": "9434dc05-3025-4f03-9e72-98b9341c6233", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-32706", "type": "seen", "source": "MISP/a1e796df-2ad8-4c8d-8b69-737a004e72dd", "content": "", "creation_timestamp": "2025-02-23T04:10:37.000000Z"}, {"uuid": "2a0ed411-50cf-4806-b197-bd98893ff894", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-32706", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/pihole_domains_api_exec.rb", "content": "", "creation_timestamp": "2022-01-12T15:41:13.000000Z"}, {"uuid": "9d9b547c-adb3-4dc1-bce5-8d54a7af0677", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-32706", "type": "seen", "source": "https://t.me/cibsecurity/26847", "content": "\u203c CVE-2021-32706 \u203c\n\nPi-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.\n\n\ud83d\udcd6 Read\n\nvia \"National Vulnerability Database\".", "creation_timestamp": "2021-08-04T23:23:43.000000Z"}, {"uuid": "7e6ee401-9df7-4591-890f-d0b397ee9a9a", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-32706", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/pihole_domains_api_exec.rb", "content": "{\"actions\": [], \"aliases\": [], \"arch\": \"php\", \"author\": [\"h00die\", \"SchneiderSec\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This exploits a command execution in Pi-Hole Web Interface &lt;= 5.5.\\n          The Settings &gt; API/Web inetrace page contains the field\\n          Top Domains/Top Advertisers which is validated by a regex which does not properly\\n          filter system commands, which can then be executed by calling the gravity\\n          functionality.  However, the regex only allows a-z, 0-9, _.\", \"disclosure_date\": \"2021-08-04\", \"fullname\": \"auxiliary/admin/http/pihole_domains_api_exec\", \"is_install_path\": true, \"mod_time\": \"2026-04-15 11:57:01 +0000\", \"name\": \"Pi-Hole Top Domains API Authenticated Exec\", \"needs_cleanup\": false, \"notes\": {\"Reliability\": [], \"SideEffects\": [\"ioc-in-logs\", \"config-changes\", \"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/auxiliary/admin/http/pihole_domains_api_exec.rb\", \"platform\": \"PHP\", \"post_auth\": false, \"rank\": 300, \"ref_name\": \"admin/http/pihole_domains_api_exec\", \"references\": [\"GHSA-5cm9-6p3m-v259\", \"CVE-2021-32706\"], \"rport\": 80, \"session_types\": false, \"targets\": null, \"type\": \"auxiliary\"}", "creation_timestamp": "2026-09-08T06:46:49.205980Z"}]}