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

Store API aggregation validation bypass exposes sensitive information

GHSA-fmvh-847r-3hmq

Affected versions

PackageAffected versionsFixed in
shopware/platform< 6.6.10.326.6.10.32
shopware/platform>= 6.7.0.0, < 6.7.16.16.7.16.1
shopware/core< 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 interprets aggregation field paths inconsistently during Store API validation and database query construction.
An unauthenticated attacker with a valid sales-channel access key can bypass field-access restrictions and obtain sensitive information that is not intended to be exposed through the Store API.
Sales-channel access keys are normally available to headless storefront clients.

Impact

An unauthenticated attacker with a sales-channel access key can disclose protected fields belonging to entities outside the intended Store API scope.
This can expose sensitive account information and other confidential data.

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

  • Restrict client-controlled Store API aggregations at the application or reverse-proxy layer.
Credits

@danslo