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

App Script sandbox escape allows arbitrary PHP and OS command execution

GHSA-6qhw-38wm-7g7h

Affected versions

PackageAffected versionsFixed in
shopware/core>= 6.5.4.0 <6.6.10.236.6.10.23
shopware/platform>= 6.5.4.0 <6.6.10.236.6.10.23
shopware/platform>=6.7.0.0 <6.7.13.16.7.13.1
shopware/core>=6.7.0.0 <6.7.13.16.7.13.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.22 or newer
6.6.x3.0.17 or newer
6.7.x4.0.13 or newer

Description

Impact

Shopware App Scripts could bypass their intended execution restrictions. A malicious or compromised App installed and activated on an affected Shopware instance could execute arbitrary PHP functions and operating-system commands with the permissions of the PHP/web-server process.

This could allow access to sensitive configuration or credentials, modification of files writable by the process, access to internal services, or disruption of the shop.

Affected versions
  • Shopware 6.5.4.0 through 6.6.10.22
  • Shopware 6.7.0.0 through 6.7.13.0
Patches

The issue is fixed in:

  • 6.6.10.23
  • 6.7.13.1

We recommend updating to a patched version as soon as possible.

Credits

Thanks to @seggewiss and @HDWSec for responsibly reporting this issue.