VDB
Sign up
HIGH7.3

GHSA-8g35-7rmw-7f59

Shopware Vulnerable to Blind SQL-injection in DAL aggregations

Quick fix

GHSA-8g35-7rmw-7f59 — shopware/core: upgrade to the fixed version with the command below.

composer require shopware/core:^6.7.0.0-rc2

Details

### 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” **in nested** object is vulnerable SQL-injection and can be exploited using SQL parameters.

### Patches

Update to Shopware 6.6.10.3

### Workarounds

For older versions of 6.5 or 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.

### Credit

[Redteam Pentesting](https://www.redteam-pentesting.de/)

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/shopware/core
Introduced in: 6.7.0.0-rc1Fixed in: 6.7.0.0-rc2
Fixcomposer require shopware/core:^6.7.0.0-rc2
Packagist/shopware/platform
Introduced in: 6.7.0.0-rc1Fixed in: 6.7.0.0-rc2
Fixcomposer require shopware/platform:^6.7.0.0-rc2
Packagist/shopware/core
Introduced in: 6.6.0.0Fixed in: 6.6.10.3
Fixcomposer require shopware/core:^6.6.10.3
Packagist/shopware/platform
Introduced in: 6.6.0.0Fixed in: 6.6.10.3
Fixcomposer require shopware/platform:^6.6.10.3
Packagist/shopware/core
Introduced in: 0Fixed in: 6.5.8.18
Fixcomposer require shopware/core:^6.5.8.18
Packagist/shopware/platform
Introduced in: 0Fixed in: 6.5.8.18
Fixcomposer require shopware/platform:^6.5.8.18

References