9.3critical
Blind SQL-injection in DAL aggregations in Shopware
- Severity
- 9.3critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.06% (higher than 64% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qmp9-2xwj-m6m9
Description
Shopware is an open headless commerce platform. The Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the “aggregations” object. The ‘name’ field in this “aggregations” object is vulnerable SQL-injection and can be exploited using time-based SQL-queries. This issue has been addressed and users are advised to update to Shopware 6.5.7.4. For older versions of 6.1, 6.2, 6.3 and 6.4 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| shopware shopware | < 6.5.7.4, before 6.5.7.4 | CVE List, NVD |
| shopware/core (Packagist) | before 6.5.7.4 | GitHub Advisory Database |
| shopware/platform (Packagist) | before 6.5.7.4 | GitHub Advisory Database |
All scores
| GitHub_M | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L |
| GitHub | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Shopware is an open headless commerce platform. The Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the “aggregations” object. The ‘name’ field in this “aggregations” object is vulnerable SQL-injection and can be exploited using time-based SQL-queries. This issue has been addressed and users are advised to update to Shopware 6.5.7.4. For older versions of 6.1, 6.2, 6.3 and 6.4 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
GitHub Advisory Database
Impact
The Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the “aggregations” object. The ‘name’ field in this “aggregations” object is vulnerable SQL-injection and can be exploited using time-based SQL-queries.
Patches
Update to Shopware 6.5.7.4
Workarounds
For older versions of 6.1, 6.2, 6.3 and 6.4 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
NVD (es)
Shopware es una plataforma de comercio abierta y sin cabeza. La API de la aplicación Shopware contiene una función de búsqueda que permite a los usuarios buscar información almacenada en su instancia de Shopware. Las búsquedas realizadas por esta función se pueden agregar utilizando los parámetros del objeto “aggregations”. El campo 'name' en este objeto de "aggregations" es vulnerable a una inyección SQL y puede explotarse mediante consultas SQL basadas en tiempo. Este problema se solucionó y se recomienda a los usuarios que actualicen a Shopware 6.5.7.4. Para versiones anteriores de 6.1, 6.2, 6.3 y 6.4, las medidas de seguridad correspondientes también están disponibles a través de un complemento. Para obtener la gama completa de funciones, recomendamos actualizar a la última versión de Shopware.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-22406 changed 2025-06-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qmp9-2xwj-m6m9 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-22406 changed 2026-06-17 | Public domain |