{"id":"CVE-2026-23492","aliases":["CVE-2026-23492","GHSA-qvr7-7g55-69xj"],"related":[],"kind":"vulnerability","state":"published","title":"Pimcore has a Blind SQL Injection in Admin Search Find API due to an incomplete fix for CVE-2023-30848","summary":"Pimcore is an Open Source Data & Experience Management Platform. Prior to 12.3.1 and 11.5.14, an incomplete SQL injection patch in the Admin Search Find API allows an authenticated attacker to perform blind SQL injection. Although CVE-2023-30848 attempted to mitigate SQL injection by removing SQL comments (--) and catching syntax errors, the fix is insufficient. Attackers can still inject SQL payloads that do not rely on comments and infer database information via blind techniques. This vulnerability affects the admin interface and can lead to database information disclosure. This vulnerability is fixed in 12.3.1 and 11.5.14.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Pimcore is an Open Source Data & Experience Management Platform. Prior to 12.3.1 and 11.5.14, an incomplete SQL injection patch in the Admin Search Find API allows an authenticated attacker to perform blind SQL injection. Although CVE-2023-30848 attempted to mitigate SQL injection by removing SQL comments (--) and catching syntax errors, the fix is insufficient. Attackers can still inject SQL payloads that do not rely on comments and infer database information via blind techniques. This vulnerability affects the admin interface and can lead to database information disclosure. This vulnerability is fixed in 12.3.1 and 11.5.14.","source":"cvelist"},{"lang":"en","text":"### Summary\nAn **incomplete SQL injection patch** in the Admin Search Find API allows an authenticated attacker to perform **blind SQL injection**.\nAlthough CVE-2023-30848 attempted to mitigate SQL injection by removing SQL comments (--) and catching syntax errors, the fix is insufficient. Attackers can still inject SQL payloads that do not rely on comments and infer database information via blind techniques. This vulnerability affects the admin interface and can lead to **database information disclosure**.\n\n### Details\nThe vulnerability exists in the Admin Search Find API endpoint:\n```\n/admin/search/search/find\n```\nIn CVE-2023-30848, the following patch was applied:\n\n- SQL comments are removed by replacing `--`\n- SQL syntax errors are caught and replaced with a generic exception\n\nRelevant commit:  \nhttps://github.com/pimcore/pimcore/commit/25ad8674886f2b938243cbe13e33e204a2e35cc3\n\nKey changes include:\n```\n// remove sql comments\n$fields = str_replace('--', '', $fields);\n\ntry {\n    $hits = $searcherList->load();\n} catch (SyntaxErrorException $syntaxErrorException) {\n    throw new \\InvalidArgumentException('Check your arguments.');\n}\n```\nHowever, this mitigation is incomplete for the following reasons:\n\n**1. Only `--` is filtered**\n\nSQL injection does not require SQL comments. Payloads using boolean conditions, SQL functions, or time-based expressions remain effective.\n\n**2. Exception handling only suppresses error output**\n\nWhile syntax errors no longer produce detailed error messages, the underlying SQL query is still executed. This allows attackers to perform blind SQL injection.\n\n**3. User-controlled input is still used in SQL query construction**\nThe `fields[]` parameter is attacker-controlled and can be abused to inject SQL expressions into the generated query.\n\nAs a result, attackers can craft payloads that do not trigger syntax errors and still influence SQL execution.\n### PoC\nThe following request demonstrates a **blind SQL injection** via the `fields[]` parameter.\n\n**Boolean-based Blind Injection**\n```\nGET /admin/search/search/find?query=2&\nfields[]=field1 AND (SELECT CASE WHEN (1=1) THEN 1 ELSE 0 END)=1~field2&\nfilter=[{\"property\":\"value\"}]&\nclass=classname\n```\n**Time-based Blind Injection**\n```\nGET /admin/search/search/find?query=2&\nfields[]=field1 AND IF(1=1,SLEEP(5),0)~field2&\nfilter=[{\"property\":\"value\"}]&\nclass=classname\n```\n**Observed behavior:**\n\n- When the condition is true, the response is delayed (e.g., ~5 seconds)\n\n- When the condition is false, the response is returned immediately\n\nThis confirms that injected SQL expressions are executed successfully.\n### Impact\nThis is a **Blind SQL Injection vulnerability.**\n\n- Affected users: Systems exposing the Admin Search Find API to authenticated users\n\n- Attack requirements: Authenticated access to the admin interface\n\n- Potential impact:\n\n  - Database schema enumeration\n  \n  - Extraction of sensitive data via blind SQL injection\n  \n  - Potential full database compromise depending on database privileges\n\nThis issue demonstrates that the fix for CVE-2023-30848 is **incomplete.**","format":"markdown","source":"ghsa"},{"lang":"es","text":"Pimcore es una Plataforma de Gestión de Datos y Experiencias de Código Abierto. Antes de las versiones 12.3.1 y 11.5.14, un parche incompleto de inyección SQL en la API de Búsqueda de Administrador permite a un atacante autenticado realizar una inyección SQL ciega. Aunque CVE-2023-30848 intentó mitigar la inyección SQL eliminando los comentarios SQL (--) y detectando errores de sintaxis, la solución es insuficiente. Los atacantes aún pueden inyectar cargas útiles SQL que no dependen de comentarios e inferir información de la base de datos mediante técnicas ciegas. Esta vulnerabilidad afecta a la interfaz de administración y puede conducir a la revelación de información de la base de datos. Esta vulnerabilidad está corregida en las versiones 12.3.1 y 11.5.14.","source":"nvd"}],"published":"2026-01-14T18:21:55.237Z","modified":"2026-06-17T10:21:41.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":">= 12.0.0-RC1, < 12.3.1","status":"affected"},{"version":"< 11.5.14","status":"affected"}],"vendor":"pimcore","product":"pimcore","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"12.0.0-RC1","status":"affected","fixed":"12.3.1"}],"ecosystem":"Packagist","package":"pimcore/pimcore","purl":"pkg:composer/pimcore/pimcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"11.5.14"}],"ecosystem":"Packagist","package":"pimcore/pimcore","purl":"pkg:composer/pimcore/pimcore","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"11.5.14"},{"status":"affected","introduced":"12.0.0","fixed":"12.3.1"}],"vendor":"pimcore","product":"pimcore","cpe":"cpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pimcore/pimcore/security/advisories/GHSA-qvr7-7g55-69xj","tags":["exploit","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pimcore/pimcore/commit/25ad8674886f2b938243cbe13e33e204a2e35cc3","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23492","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-6mhm-gcpf-5gr8","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pimcore/pimcore","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-01-14T21:14:38.211Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23492","url":"https://www.cve.org/CVERecord?id=CVE-2026-23492","licence":"CVE Terms of Use","modified":"2026-01-14T21:14:46.329Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qvr7-7g55-69xj","url":"https://github.com/advisories/GHSA-qvr7-7g55-69xj","licence":"CC-BY-4.0","modified":"2026-02-03T03:11:49.551Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23492","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23492","licence":"Public domain","modified":"2026-06-17T10:21:41.167Z"}],"updatedAt":"2026-11-25T22:59:12.837Z","epss":{"score":0.00466,"percentile":0.41996,"date":"2026-12-01T12:00:22.000Z"}}