| Package | Affected versions | Fixed in |
|---|---|---|
| shopware/core | >= 6.7.1.0, <6.7.13.1 | 6.7.13.1 |
| shopware/platform | >= 6.7.1.0, <6.7.13.1 | 6.7.13.1 |
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.7.x | 4.0.13 or newer |
Shopware did not sufficiently validate a media file extension during a media update. An authenticated Administration user with the media:update privilege could use this to write files outside the intended media directory.
In affected configurations, this could lead to arbitrary PHP code execution and full compromise of the shop.
Affected versionsThe issue is fixed in:
We recommend updating to a patched version as soon as possible.
WorkaroundsIf an immediate update is not possible, restrict the media:update privilege to fully trusted users and integrations. Review accounts and integrations that hold this privilege, and remove it where it is not required.
Thanks to @HDWSec for responsibly reporting this issue.