Community Hub membersJoin more than 6500+ Members
All security advisories
CriticalCVSS 9.6– Published

Installed Apps can obtain Administration user credentials

GHSA-28fx-g7qc-7c24

Affected versions

PackageAffected versionsFixed in
shopware/administration< 6.6.10.326.6.10.32
shopware/platform< 6.6.10.326.6.10.32
shopware/platform>= 6.7.0.0, < 6.7.16.16.7.16.1
shopware/administration>= 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

Insufficient filtering of Administration ExtensionAPI responses can expose the current user's authentication tokens to an installed, active App.
Exploitation requires the App's Administration content to execute in the user's browser and permission to perform the relevant entity operation.
The reported read-based variant requires only an entity read permission, such as product:read.

Impact

An installed App with the relevant entity permission can obtain authentication tokens belonging to a user who loads its Administration content.
The App can then act with that user's privileges.
If the affected user is an administrator, this permits full administrative access.
Exposed refresh tokens may extend access beyond the lifetime of an individual access token.

Affected versions
  • Shopware Administration versions before 6.6.10.32, including older affected release lines.
  • Shopware Administration 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:

  • Deactivate untrusted Apps with Administration content.
  • If compromise is suspected, revoke affected user sessions and tokens and review subsequent administrative activity.
Credits

@xndrdev