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

Improper authorization in entity cloning enables privilege escalation

GHSA-p589-2ff8-3wfw

Affected versions

PackageAffected versionsFixed in
shopware/core>=6.7.0.0 <6.7.14.16.7.14.1
shopware/core<6.6.10.256.6.10.25
shopware/platform<6.6.10.256.6.10.25
shopware/platform>=6.7.0.0 <6.7.14.16.7.14.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.23 or newer
6.6.x3.0.19 or newer
6.7.x4.0.15 or newer

Description

Summary

An authenticated Administration API user with the user:create permission could bypass authorization checks when cloning users and provide values for protected fields.

Impact

A user with user:create could escalate privileges and gain unauthorized administrative access. Similar risks may apply to roles with create permissions for other affected cloneable entities.

Affected versions
  • All Shopware versions before 6.6.10.25, including 6.5.x and earlier, as well as 6.6.0.0 through 6.6.10.24
  • Shopware 6.7.0.0 through 6.7.14.0
Patches

The issue is fixed in:

  • Shopware 6.6.10.25
  • Shopware 6.7.14.1

The patch restores authorization checks for protected fields during entity cloning.

Workarounds

Until upgrading:

  • Remove user:create and other unnecessary create permissions from untrusted roles.
  • Review administrator accounts and audit logs for unexpected changes.
  • Restrict Administration API access to trusted users and networks.
Credits

Thanks to @callghost for responsibly reporting this vulnerability.