Wysoka

Pimcore Has an Incomplete Patch for CVE-2023-30848

  • Ujawniono: 14.01.2026
  • Aktualizacja: 11.10.2026 10:22

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:

php
// 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.

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Paczka Composer pimcore/pimcore >= 12.0.0-RC1, < 12.3.1, < 11.5.14 12.3.1, 11.5.14

Odnośniki

Ocena CVSS 8.8/10
Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Słabość (CWE)
CWE-89
Platforma
Composer
Paczka
pimcore/pimcore
Ujawniono
14.01.2026
Aktualizacja
11.10.2026 10:22

Źródła i licencje

OSV / GitHub Advisory Database - GHSA-qvr7-7g55-69xj - CC BY 4.0

Historia podatności: pimcore/pimcore

Wszystkie opisane podatności tej paczki (Paczka Composer), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkie (135) w archiwum
Wszystkich wpisów
135
Pierwsza → ostatnia
12.2019 09.2026
Bez poprawki
3
Wykorzystywana w atakach
0

Rozkład istotności

  • Krytyczna 5
  • Wysoka 40
  • Średnia 90

Ujawnienia w latach

  1. 2019: 1
  2. 2020: 0
  3. 2021: 11
  4. 2022: 43
  5. 2023: 59
  6. 2024: 3
  7. 2025: 2
  8. 2026: 16
Istotność:
  1. Wysoka · 8.8 CVE-2026-55416 >= 2026.1.0, < 2026.1.6, >= 12.0.0-RC1, < 12.3.10, < 11.5.19 2026.1.6, 12.3.10, 11.5.19
  2. Krytyczna · 9.9 CVE-2026-55634 < 12.3.10, >= 2026.1.0, < 2026.1.6 12.3.10, 2026.1.6
  3. Wysoka · 8.5 CVE-2026-55072 >= 2026.1.0, < 2026.1.5, < 12.3.9 2026.1.5, 12.3.9
  4. Wysoka · 7.2 CVE-2026-11407 >= 12.0.0-RC1, <= 12.3.8, <= 11.5.14.1 brak poprawki
  5. Wysoka CVE-2026-5394 >= 12.0.0-RC1, < 12.3.7, < 11.5.17, >= 2026.1.0, < 2026.1.3 12.3.7, 11.5.17, 2026.1.3
  6. Wysoka CVE-2026-45704 >= 12.0.0-RC1, < 12.3.6, < 11.5.17, >= 2026.1.0, < 2026.1.2 12.3.6, 11.5.17, 2026.1.2
  7. Wysoka · 8.1 CVE-2026-45260 >= 12.0.0-RC1, < 12.3.7, >= 2026.1.0, < 2026.1.3, < 11.5.17 12.3.7, 2026.1.3, 11.5.17
  8. Wysoka · 8.0 CVE-2026-45162 >= 12.0.0-RC1, < 12.3.7, < 11.5.17, >= 2026.1.0, < 2026.1.3 12.3.7, 11.5.17, 2026.1.3
  9. Wysoka · 8.7 CVE-2026-44739 >= 2026.1.0, < 2026.1.2, < 11.5.17, >= 12.0.0-RC1, < 12.3.6 2026.1.2, 11.5.17, 12.3.6
  10. Wysoka · 8.6 CVE-2026-23493 >= 12.0.0-RC1, < 12.3.1, < 11.5.14 12.3.1, 11.5.14
  11. Pimcore Has an Incomplete Patch for CVE-2023-30848 ten wpis
    Wysoka · 8.8 CVE-2026-23492 >= 12.0.0-RC1, < 12.3.1, < 11.5.14 12.3.1, 11.5.14
  12. Wysoka · 8.1 CVE-2024-11954 >= 11.4.2, < 11.5.3 11.5.3
  13. Wysoka · 8.8 ghsa-hq76-662x-7mw4 >= 10.6.9.0, < 10.6.9.12, >= 11.1.0.0, < 11.1.6.11 10.6.9.12, 11.1.6.11
  14. Wysoka · 7.5 CVE-2024-32871 >= 11.0.0, < 11.2.4 11.2.4
  15. Wysoka · 7.2 CVE-2023-3820 < 10.6.4 10.6.4
  16. Wysoka · 7.2 CVE-2023-3673 < 10.5.24 10.5.24
  17. Wysoka · 8.8 CVE-2023-2338 < 10.5.21 10.5.21
  18. Wysoka · 8.8 CVE-2023-30850 < 10.5.21 10.5.21
  19. Wysoka · 8.8 CVE-2023-30849 < 10.5.21 10.5.21
  20. Wysoka · 8.8 CVE-2023-30848 < 10.5.21 10.5.21
  21. Wysoka · 8.8 CVE-2023-25240 < 10.5.16 10.5.16
  22. Krytyczna · 9.8 CVE-2022-39365 < 10.5.9 10.5.9
  23. Krytyczna · 9.8 CVE-2019-18985 < 6.2.2 6.2.2
  24. Krytyczna · 9.8 CVE-2019-18981 < 6.2.2 6.2.2
  25. Wysoka · 7.5 CVE-2019-18986 < 6.2.2 6.2.2
  26. Wysoka · 8.8 CVE-2019-16317 < 5.7.1 5.7.1
  27. Wysoka · 8.8 CVE-2019-16318 < 5.7.1 5.7.1
  28. Wysoka CVE-2014-2921 >= 1.4.9, < 2.2.0 2.2.0
  29. Wysoka · 8.8 CVE-2018-14057 < 5.3.0 5.3.0
  30. Wysoka · 8.8 CVE-2019-10867 < 5.7.1 5.7.1
  31. Wysoka · 7.5 CVE-2022-1429 < 10.3.6 10.3.6
  32. Wysoka · 7.5 CVE-2022-1339 < 10.3.5 10.3.5
  33. Wysoka · 7.5 CVE-2022-1219 < 10.3.5 10.3.5
  34. Wysoka · 8.3 CVE-2022-0258 < 10.2.9 10.2.9
  35. Wysoka · 7.8 CVE-2022-0263 < 10.2.7 10.2.7
  36. Wysoka · 8.0 CVE-2021-39166 < 10.1.2 10.1.2
  37. Wysoka · 8.0 CVE-2021-39170 < 10.1.2 10.1.2
  38. Wysoka · 8.8 CVE-2021-23405 < 10.0.7 10.0.7
  39. Wysoka · 7.2 CVE-2020-7759 >= 6.7.2, < 6.8.3 6.8.3
  40. Wysoka · 7.1 CVE-2021-23340 < 6.8.8 6.8.8

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.