{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "da2764e58fa5fd3a17391ea7beac93c6b1509d20"
            }
          ],
          "repo": "https://github.com/pi-hole/adminlte",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ad2d43869e9ad97cc3a8c5afc6fefec0e142a972"
            }
          ],
          "repo": "https://github.com/pi-hole/web",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6qh8-6rrj-7497"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23513.json"
  },
  "details": "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:\n`/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.",
  "id": "CVE-2022-23513",
  "modified": "2026-04-01T23:08:31.570669472Z",
  "published": "2022-12-22T23:17:19.812Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/174460/AdminLTE-PiHole-Broken-Access-Control.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pi-hole/AdminLTE/releases/tag/v5.18"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23513.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pi-hole/AdminLTE/security/advisories/GHSA-6qh8-6rrj-7497"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23513"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Pi-Hole/AdminLTE vulnerable due to improper access control in queryads endpoint"
}