Community Hub membersJoin more than 6500+ Members
All security advisories
ModerateCVSS 4.3– Published

Missing authorization permits unauthorized media uploads

GHSA-23g6-m65m-5qcg

Affected versions

PackageAffected versionsFixed in
shopware/platform>= 6.7.11.0, < 6.7.16.16.7.16.1
shopware/core>= 6.7.11.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.7.x4.0.17 or newer

Description

Summary

Shopware does not sufficiently enforce media permissions for presigned uploads.
On deployments using presign-capable storage, an authenticated Admin API user, integration or App can perform media upload operations without the required media write permissions.

Impact

An authenticated Admin API caller without media:create or media:update can perform unauthorized media operations on affected storage configurations.
This can result in unauthorized creation or modification of media.

Affected versions
  • Shopware 6.7.11.0 through versions before 6.7.16.1.

Exploitation requires presign-capable storage.
Shopware 6.6 does not contain the affected implementation.

Patches

The issue is fixed in Shopware 6.7.16.1.

Workarounds

Until patched:

  • Restrict presigned upload functionality to trusted, authorized callers at the application or reverse-proxy layer.
Credits

@skeletonsec, @callghost and @iamzidar