6.2medium
Pimcore vulnerable to improper quoting of filters in Custom Reports
- Severity
- 6.2medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vf7q-g2pv-jxvx
Description
Pimcore is an open source data and experience management platform. Prior to version 10.5.19, since a user with 'report' permission can already write arbitrary SQL queries and given the fact that this endpoint is using the GET method (no CSRF protection), an attacker can inject an arbitrary query by manipulating a user to click on a link. Users should upgrade to version 10.5.19 to receive a patch or, as a workaround, may apply the patch manually.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pimcore pimcore | < 10.5.19, before 10.5.19 | CVE List, NVD |
| pimcore/pimcore (Packagist) | before 10.5.19 | GitHub Advisory Database |
All scores
| GitHub_M | 6.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N |
| GitHub | 6.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:N/A:N |
| NVD | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Pimcore is an open source data and experience management platform. Prior to version 10.5.19, since a user with 'report' permission can already write arbitrary SQL queries and given the fact that this endpoint is using the GET method (no CSRF protection), an attacker can inject an arbitrary query by manipulating a user to click on a link. Users should upgrade to version 10.5.19 to receive a patch or, as a workaround, may apply the patch manually.
GitHub Advisory Database
Impact
Since a user with 'report' permission can already write arbitrary SQL queries and given the fact that this endpoint is using the GET method (no CSRF protection), an attacker can inject an arbitrary query by manipulating a user to click on a link.
The impact of this path traversal and arbitrary extension is limited (creation of arbitrary files and appending data to existing files) but when combined with the SQL Injection, the exported data can be controlled and a webshell can be uploaded. Attackers can use that to execute arbitrary PHP code on the server with the permissions of the webserver.
Patches
Update to version 10.5.19 or apply these patch manually https://github.com/pimcore/pimcore/commit/d1abadb181c88ebaa4bce1916f9077469d4ea2bc.patch https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f.patch
Workarounds
Apply patches manually: https://github.com/pimcore/pimcore/commit/d1abadb181c88ebaa4bce1916f9077469d4ea2bc.patch https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f.patch
References
#14526 #14498
References
| https://github.com/pimcore/pimcore/security/advisories/GHSA-vf7q-g2pv-jxvx | patch, vendor-advisory, web | |
| https://github.com/pimcore/pimcore/pull/14526 | patch, vendor-advisory, web | |
| https://github.com/pimcore/pimcore/commit/d1abadb181c88ebaa4bce1916f9077469d4ea2bc.patch | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-28438 | advisory | |
| https://github.com/pimcore/pimcore | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-28438 changed 2025-02-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vf7q-g2pv-jxvx changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-28438 changed 2026-06-17 | Public domain |