An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS03MmhoLXhmNzktNDI5cM4AA3ML

Pimcore SQL Injection in Admin Grid Filter API through Multiselect::getFilterConditionExt()


User input passed directly into an SQL statement allows (non-admin) backend users to execute arbitrary SQL statements.


The /admin/object/grid-proxy endpoint calls getFilterCondition() on fields of classes to be filtered for at, passing input from the request, and later executes the returned SQL. One implementation of getFilterCondition() is in Multiselect, which does not normalize/escape/validate the passed value:


Notes The above process also works with the initial admin user, but for demonstration purposes it is more interesting to use an unpriveleged one. Other important variables to adjust in the above script for other deployments are the classId=EV&folderId=1119 parameters, which must reference an existing class and folder, as well as "property":"tags", which points to a Multiselect field in this class.


Any backend user with very basic permissions can execute arbitrary SQL statements and thus alter any data or escalate their privileges to at least admin level.


Apply patch manually.


Update to version 11.1.1 or apply this patch manually.

Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 13 days ago
Updated: 13 days ago

CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-72hh-xf79-429p, CVE-2023-47637

Affected Packages

Versions: < 11.1.1
Fixed in: 11.1.1