Blind SQL-injection in DAL aggregations in Shopware
shopware
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| shopware/core Packagist |
|
|
| shopware/platform Packagist |
|
|
shopware
| Product | Affected | Fixed in |
|---|---|---|
| shopware/core Packagist |
|
|
| shopware/platform Packagist |
|
|
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.
From the CVE record · GitHub_M
The `name` field in the application API search function’s `aggregations` object is vulnerable to SQL injection. An attacker can exploit it with time-based SQL queries through the API. The input does not specify authentication requirements or user interaction.
Teams running Shopware with Packagist `shopware/core` or `shopware/platform` versions earlier than 6.5.7.4 should check their installations.