NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

highCVSS 4.0 8.7 · 3.1 8.3GHSA-27wp-jvhw-v4xp

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.

Published Aug 8, 2024 · Updated Aug 12, 2024

Affected packages

shopware/core

Ecosystem
Composer (PHP)
Affected
<= 6.5.8.12
Fixed in
6.5.8.13
Check
composer show shopware/core

shopware/platform

Ecosystem
Composer (PHP)
Affected
<= 6.5.8.12
Fixed in
6.5.8.13
Check
composer show shopware/platform

shopware/platform

Ecosystem
Composer (PHP)
Affected
>= 6.6.0.0, <= 6.6.5.0
Fixed in
6.6.5.1
Check
composer show shopware/platform

shopware/core

Ecosystem
Composer (PHP)
Affected
>= 6.6.0.0, <= 6.6.5.0
Fixed in
6.6.5.1
Check
composer show shopware/core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

Shopware has a new Twig Tag sw_silent_feature_call 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.

Credited to Creastery.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries