CVE-2024-22406
Blind SQL injection in shopware
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | shopware/core, shopware/platform | 6.5.7.4 |
Show all 2 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | shopware/core | 6.5.7.4 |
| composer::GitHub Security Advisory Composer | shopware/platform | 6.5.7.4 |
References
- https://github.com/shopware/core/commit/e2256ec81e56f792623e90d89786d8a9fcad28bf
- https://github.com/shopware/shopware
- https://github.com/shopware/shopware/commit/5005213e609f5a4423fcfa92f105c3de8ab35100
- https://github.com/shopware/shopware/releases/tag/v6.5.7.4
- https://github.com/shopware/shopware/security/advisories/GHSA-qmp9-2xwj-m6m9
- https://nvd.nist.gov/vuln/detail/CVE-2024-22406