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

Insufficient App package validation permits server file disclosure

GHSA-x6mg-frx2-6p8j

Affected versions

PackageAffected versionsFixed in
shopware/core< 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/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 does not sufficiently restrict file access when processing certain App package metadata.
An attacker controlling an App package or package update can disclose server files after that package is installed or updated.
The demonstrated disclosure requires the App to have an approved app:read permission.
Control of only an App's remote backend is insufficient.

Impact

An attacker controlling an installed or updated App package with app:read can obtain files readable by the PHP process.
Depending on filesystem permissions, these files may contain confidential configuration, application secrets or service credentials.

Affected versions
  • Shopware 6.3.1.0 and later versions before 6.6.10.32, including the 6.4 and 6.5 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:

  • Install and update Apps only from trusted sources.
  • Review App packages and requested permissions.
  • If compromise is suspected, rotate potentially disclosed secrets.
Credits

@Return-Zer0 and @xndrdev