| Package | Affected versions | Fixed in |
|---|---|---|
| shopware/core | >=6.7.0.0 <6.7.14.1 | 6.7.14.1 |
| shopware/core | <6.6.10.25 | 6.6.10.25 |
| shopware/platform | >=6.7.0.0 <6.7.14.1 | 6.7.14.1 |
| shopware/platform | <6.6.10.25 | 6.6.10.25 |
If you cannot update Shopware right away, the Shopware Security Plugin closes this issue from the listed version on.
| Shopware version | Security Plugin version |
|---|---|
| 6.5.x | 2.0.23 or newer |
| 6.6.x | 3.0.19 or newer |
| 6.7.x | 4.0.15 or newer |
Insufficient validation of Store API aggregation input can result in SQL injection when Shopware runs on PHP versions before 8.4 with PDO MySQL emulated prepares enabled.
ImpactAn unauthenticated Store API client may be able to read arbitrary data from the underlying database. Write access has not been established.
Affected versions6.6.10.25, including 6.5.x and earlier, as well as 6.6.0.0 through 6.6.10.246.7.0.0 through 6.7.14.0The vulnerability requires PHP < 8.4 with PDO MySQL emulated prepares enabled.
The issue is fixed in:
6.6.10.256.7.14.1The patch strengthens validation of Store API aggregation input before it is used in generated database queries.
WorkaroundsUntil patched:
8.4 or later; orPDO::ATTR_EMULATE_PREPARES to false.This vulnerability was reported over our Bug Bounty Program.