ADVISORIES

GitHub Advisory Database

GHSA-8g35-7rmw-7f59

Shopware Vulnerable to Blind SQL-injection in DAL aggregations

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

Affected packages

EcosystemPackageAffected versions
Packagistshopware/core
From 6.7.0.0-rc1 before 6.7.0.0-rc2 (fixed in 6.7.0.0-rc2)
Packagistshopware/platform
From 6.7.0.0-rc1 before 6.7.0.0-rc2 (fixed in 6.7.0.0-rc2)
Packagistshopware/core
From 6.6.0.0 before 6.6.10.3 (fixed in 6.6.10.3)
Packagistshopware/platform
From 6.6.0.0 before 6.6.10.3 (fixed in 6.6.10.3)
Packagistshopware/core
All versions before 6.5.8.18 (fixed in 6.5.8.18)
Packagistshopware/platform
All versions before 6.5.8.18 (fixed in 6.5.8.18)

References