Pimcore
Pimcore: SQL Injection in Custom Reports Column Configuration
Pimcore is an Open Source Data & Experience Management Platform. Prior to 11.5.17 (LTS) and 12.3.6, the columnConfigAction endpoint in bundles/CustomReportsBundle/src/Controller/Reports/CustomReportController.php passes malicious SQL configuration through CustomReportController:columnConfigAction, SqlAdapter::getColumns, SqlAdapter::buildQueryString, and Db::fetchAssociative(), allowing an attacker with the reports_config permission to use arbitrary SELECT queries, UNION statements, dangerous database functions, and error-based SQL injection to exfiltrate or manipulate database data. This issue is fixed in versions 11.5.17 (LTS) and 12.3.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 11.5.17
- >= 12.0.0, < 12.3.6
Fixed in 11.5.17, 12.3.6
Mitigation
Upgrade pimcore to 11.5.17 or 12.3.6 or later.
References
- Vendor advisory github.com/pimcore/pimcore/security/advisories…
- Patch github.com/pimcore/pimcore/pull/19098
- Patch github.com/pimcore/pimcore/commit/3fd7733464f4…
1 more
- Release notes github.com/pimcore/pimcore/releases/tag/v12.3.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.