# CVE-2022-23513: Pi-Hole/AdminLTE vulnerable due to improper access control in queryads endpoint

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 31.3%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-22T23:17:19.812Z
- Modified: 2026-06-17T04:30:16.493Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Pi-Hole is a network-wide ad blocking via your own Linux hardware, AdminLTE is a Pi-hole Dashboard for stats and more. In case of an attack, the threat actor will obtain the ability to perform an unauthorized query for blocked domains on  `queryads` endpoint. In the case of application, this vulnerability exists because of a lack of validation in code on a root server path:
`/admin/scripts/pi-hole/phpqueryads.php.` Potential threat actor(s) are able to perform an unauthorized query search in blocked domain lists. This could lead to the disclosure for any victims' personal blacklists.

(As written by CVE List.)

## Affected

- pi-hole AdminLTE: < 5.17; up to 5.17

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-6qh8-6rrj-7497> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/174460/AdminLTE-PiHole-Broken-Access-Control.html> (exploit)
- <https://github.com/pi-hole/AdminLTE/releases/tag/v5.18> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2022-23513](https://www.cve.org/CVERecord?id=CVE-2022-23513), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-23513](https://nvd.nist.gov/vuln/detail/CVE-2022-23513), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23513 · Whole record: https://cve.day/CVE-2022-23513.json · Rebuilt by cve.day 2026-11-25T22:58:17.828Z
