GHSA-qmp9-2xwj-m6m9
Blind SQL injection in shopware
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | shopware/core | < 6.5.7.4 | 6.5.7.4 |
| Packagist | shopware/platform | < 6.5.7.4 | 6.5.7.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/shopware/shopware/security/advisories/GHSA-qmp9-2xwj-m6m9
- https://nvd.nist.gov/vuln/detail/CVE-2024-22406
- https://github.com/shopware/core/commit/e2256ec81e56f792623e90d89786d8a9fcad28bf
- https://github.com/shopware/shopware/commit/5005213e609f5a4423fcfa92f105c3de8ab35100
- https://github.com/shopware/shopware
- https://github.com/shopware/shopware/releases/tag/v6.5.7.4