Shopware vulnerable to blind SQL-injection in DAL aggregations
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 commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, 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 SQL parameters. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.1, 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.
From the CVE record · GitHub_M
The `name` field in the application API search `aggregations` object is vulnerable to SQL injection. An attacker who can submit searches to the API can exploit it using SQL parameters; the input does not specify whether authentication or user interaction is required.
Check Shopware installations using Packagist `shopware/core` or `shopware/platform` versions below 6.5.8.13, or versions from 6.6.0.0 up to but not including 6.6.5.1.