{"schemaVersion":3,"id":"CVE-2021-32706","aliases":["GHSA-5cm9-6p3m-v259"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-08-04T17:50:09.000Z","modified":"2024-08-03T23:25:31.137Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.60181,"percentile":0.99135,"severity":"critical","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.60181},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.60181,"percentile":0.99135}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.60181,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.60181,"percentile":0.99135}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PI-HOLE_ADMINLTE","name":"Adminlte","source":"github","url":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-cwwf-93p7-73j9","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_AUXILIARY_ADMIN_HTTP_PIHOLE_DOMAINS_API_EXEC","name":"Pi-Hole Top Domains API Authenticated Exec","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/pihole_domains_api_exec.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/admin/http/pihole_domains_api_exec","rank":"300","rankName":"normal","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs","config-changes","artifacts-on-disk"],"reliability":[]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"pi-hole","product":"adminlte","name":"AdminLTE","label":"adminlte","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.5.1","eol":null,"hubHref":"/vendor/pi-hole/adminlte"},{"vendor":"pi-hole","product":"pi-hole","name":"pi-hole","label":"pi-hole","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.5.1","eol":null,"hubHref":"/vendor/pi-hole/pi-hole"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-5cm9-6p3m-v259","label":"github.com/pi-hole/AdminLTE/security/advisories/GHSA-5cm9-6p3m-v259","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory"]},{"url":"https://github.com/pi-hole/AdminLTE/releases/tag/v5.5.1","label":"github.com/pi-hole/AdminLTE/releases/tag/v5.5.1","hostname":"github.com","tags":["X Refsource MISC","Release Notes","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-08-04T17:50:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:25:31.137Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":57,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:20:38.028Z","stale":false,"partial":false}}