| Package | Affected versions | Fixed in |
|---|---|---|
| shopware/core | >=6.7.0.0 <6.7.13.1 | 6.7.13.1 |
| shopware/platform | >=6.7.0.0 <6.7.13.1 | 6.7.13.1 |
| shopware/platform | <6.6.10.23 | 6.6.10.23 |
| shopware/core | <6.6.10.23 | 6.6.10.23 |
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.22 or newer |
| 6.6.x | 3.0.17 or newer |
| 6.7.x | 4.0.13 or newer |
Shopware did not sufficiently validate identifiers in custom-entity definitions supplied by Apps. A malicious or compromised App could use a crafted custom-entity definition to execute arbitrary SQL with the permissions of Shopware’s database connection.
This could allow an attacker to read, modify, or delete shop data, alter the database schema, or disrupt the shop.
Affected versionsThe issue is fixed in:
We recommend updating to a patched version as soon as possible.
WorkaroundsUntil an update can be applied, install and update Apps only from trusted sources. Review installed Apps, particularly those that define custom entities, and avoid enabling or updating untrusted Apps.
CreditsThanks to @seggewiss for responsibly reporting this issue.