Community Hub membersJoin more than 6500+ Members
All security advisories
HighCVSS 7.7– Published

Insufficient media validation permits unauthorized file operations

GHSA-3q8x-6fc9-5428

Affected versions

PackageAffected versionsFixed in
shopware/platform>= 6.5.7.0, < 6.6.10.326.6.10.32
shopware/platform>= 6.7.0.0, < 6.7.16.16.7.16.1
shopware/core>= 6.5.7.0, < 6.6.10.326.6.10.32
shopware/core>= 6.7.0.0, < 6.7.16.16.7.16.1

Fixed by the Security Plugin

If you cannot update Shopware right away, the Shopware Security Plugin closes this issue from the listed version on.

Shopware versionSecurity Plugin version
6.5.x2.0.25 or newer
6.6.x3.0.21 or newer
6.7.x4.0.17 or newer

Description

Summary

Shopware does not sufficiently validate changes to media storage information.
An authenticated Administration user, integration or App with media-management permissions, including media:update, can cause media operations to affect files outside the intended media item's storage location.

Impact

An authenticated caller with the required media permissions can perform unauthorized operations on other files within the configured public or private storage.
Depending on the operation and storage configuration, this can cause information disclosure, modification or deletion of files belonging to other media or shop components.

Affected versions
  • Shopware 6.5.7.0 and later versions before 6.6.10.32.
  • Shopware 6.7 versions before 6.7.16.1.
Patches

The issue is fixed in:

  • Shopware 6.6.10.32.
  • Shopware 6.7.16.1.
Workarounds

Until patched:

  • Grant media creation, update and deletion permissions only to fully trusted users, integrations and Apps.
  • Review which roles, integrations and Apps hold these permissions.
Credits

@callghost