CVE-2024-42355: Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag

Published Aug 8, 2024
·
Updated

Impact

Shopware has a new Twig Tag swsilentfeaturecall which silences deprecation messages while triggered in this tag. It accepts as parameter a string the feature flag name to silence, but this parameter is not escaped properly and allows execution of code.

Patches Update to Shopware 6.6.5.1 or 6.5.8.13

Workarounds For older versions of 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.

Other sources

Shopware, an open ecommerce platform, has a new Twig Tag swsilentfeaturecall 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.

MITRE

Affected Software

6 affected componentsFixes available
composer/shopware/core>=6.6.0.0<=6.6.5.0
6.6.5.1
composer/shopware/platform>=6.6.0.0<=6.6.5.0
6.6.5.1
composer/shopware/platform<=6.5.8.12
6.5.8.13
composer/shopware/core<=6.5.8.12
6.5.8.13
Shopware Shopware<6.5.8.13
Shopware Shopware>=6.6.0.0<6.6.5.1

Event History

Aug 8, 2024
Advisory Published
via GitHub·02:48 PM
CVE Published
via MITRE·02:49 PM
Data Sourced
via MITRE·02:49 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-42355?

CVE-2024-42355 is classified as a security vulnerability that allows remote code execution due to improper handling of parameters.

2

How do I fix CVE-2024-42355?

To resolve CVE-2024-42355, update Shopware to version 6.6.5.1 or 6.5.8.13.

3

What are the affected versions for CVE-2024-42355?

CVE-2024-42355 affects Shopware versions between 6.6.0.0 and 6.6.5.0 as well as versions up to 6.5.8.12.

4

What functionality does the new Twig Tag `sw_silent_feature_call` provide related to CVE-2024-42355?

The `sw_silent_feature_call` allows silencing of deprecation messages but introduces a risk of code execution if misused.

5

Is there a workaround for CVE-2024-42355?

There is no confirmed workaround for CVE-2024-42355, and updating to the patched versions is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203