CVE-2023-3820: Pimcore vulnerable to SQL Injection in Dataobjects sorting
7.2
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.96483%
CWE
Published
7/21/2023
Updated
11/5/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| pimcore/pimcore | composer | < 10.6.4 | 10.6.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper SQL identifier quoting in the order key handling logic. The patch adds quoteIdentifier() calls to all order key components, proving the original code lacked necessary sanitization. The function prepareListingForGrid handles user-provided sorting parameters and directly interpolated them into SQL queries, making it the clear injection point. The high confidence comes from: 1) The CWE-89 classification, 2) The patch's focus on adding quoting in this function, and 3) The vulnerability's description tying exploitation to SQLi via sorting parameters.