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

Insufficient authorization allows integrations to perform unauthorized user operations

GHSA-g8r6-cxw8-f75w

Affected versions

PackageAffected versionsFixed in
shopware/core>= 6.7.2.0, < 6.7.16.16.7.16.1
shopware/platform>= 6.7.2.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 distinguish authenticated integrations from directly authenticated users when authorizing certain user-specific operations.
An authenticated integration, including an App integration, can access functionality intended exclusively for the user.
Unauthorized account modification requires the user_change_me permission.

Impact

An authenticated integration can gain unauthorized access to user-specific functionality.
With user_change_me, this can include unauthorized account modifications and compromise of affected user accounts, including administrative accounts.

Affected versions
  • Shopware 6.7.2.0 through versions before 6.7.16.1.

Shopware 6.6 is not affected.

Patches

The issue is fixed in Shopware 6.7.16.1.

The patch requires direct user authentication for functionality intended exclusively for users.

Workarounds

Until patched:

  • Grant integration and App permissions only to trusted parties.
  • Remove user_change_me from integrations and Apps where it is not required.
  • Review unexpected access to or changes in user accounts.
Credits

@xndrdev