Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag
shopware
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| shopware/core Packagist |
|
|
| shopware/platform Packagist |
|
shopware
| Product | Affected | Fixed in |
|---|---|---|
| shopware/core Packagist |
|
|
| shopware/platform Packagist |
|
|
Shopware, an open ecommerce platform, has a new Twig Tag `sw_silent_feature_call` which silences deprecation messages while triggered in this tag. Prior to versions 6.6.5.1 and 6.5.8.13, it accepts as parameter a string the feature flag name to silence, but this parameter is not escaped properly and allows execution of code. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.
From the CVE record · GitHub_M
The Shopware Twig tag `sw_silent_feature_call` does not properly escape its feature-flag name parameter, allowing code execution. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Teams running Packagist `shopware/core` or `shopware/platform` versions below 6.5.8.13, or versions from 6.6.0.0 through 6.6.5.0, should check their installations.