8.8high
Pimcore has a Blind SQL Injection in Admin Search Find API due to an incomplete fix for CVE-2023-30848
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.47% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qvr7-7g55-69xj
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pimcore pimcore | >= 12.0.0-RC1, < 12.3.1, < 11.5.14, before 11.5.14, from 12.0.0 before 12.3.1 | CVE List, NVD |
| pimcore/pimcore (Packagist) | from 12.0.0-RC1 before 12.3.1, before 11.5.14 | GitHub Advisory Database |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
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.
Details
The vulnerability exists in the Admin Search Find API endpoint:
/admin/search/search/find
In CVE-2023-30848, the following patch was applied:
- SQL comments are removed by replacing
-- - SQL syntax errors are caught and replaced with a generic exception
Relevant commit:
https://github.com/pimcore/pimcore/commit/25ad8674886f2b938243cbe13e33e204a2e35cc3
Key changes include:
// remove sql comments
$fields = str_replace('--', '', $fields);
try {
$hits = $searcherList->load();
} catch (SyntaxErrorException $syntaxErrorException) {
throw new \InvalidArgumentException('Check your arguments.');
}
However, this mitigation is incomplete for the following reasons:
1. Only -- is filtered
SQL injection does not require SQL comments. Payloads using boolean conditions, SQL functions, or time-based expressions remain effective.
2. Exception handling only suppresses error output
While syntax errors no longer produce detailed error messages, the underlying SQL query is still executed. This allows attackers to perform blind SQL injection.
3. User-controlled input is still used in SQL query construction
The fields[] parameter is attacker-controlled and can be abused to inject SQL expressions into the generated query.
As a result, attackers can craft payloads that do not trigger syntax errors and still influence SQL execution.
PoC
The following request demonstrates a blind SQL injection via the fields[] parameter.
Boolean-based Blind Injection
GET /admin/search/search/find?query=2&
fields[]=field1 AND (SELECT CASE WHEN (1=1) THEN 1 ELSE 0 END)=1~field2&
filter=[{"property":"value"}]&
class=classname
Time-based Blind Injection
GET /admin/search/search/find?query=2&
fields[]=field1 AND IF(1=1,SLEEP(5),0)~field2&
filter=[{"property":"value"}]&
class=classname
Observed behavior:
-
When the condition is true, the response is delayed (e.g., ~5 seconds)
-
When the condition is false, the response is returned immediately
This confirms that injected SQL expressions are executed successfully.
Impact
This is a Blind SQL Injection vulnerability.
-
Affected users: Systems exposing the Admin Search Find API to authenticated users
-
Attack requirements: Authenticated access to the admin interface
-
Potential impact:
-
Database schema enumeration
-
Extraction of sensitive data via blind SQL injection
-
Potential full database compromise depending on database privileges
-
This issue demonstrates that the fix for CVE-2023-30848 is incomplete.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23492 changed 2026-01-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qvr7-7g55-69xj changed 2026-02-03 | CC-BY-4.0 |
| NVD | CVE-2026-23492 changed 2026-06-17 | Public domain |