RCE in Shopware

CVE-2024-42355

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.

EPSS: 0.009 (54.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L.

Affected products

  • Shopware — versions <= 6.5.8.12, >= 6.6.0.0, <= 6.6.5.0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-42355?
CVE-2024-42355 is a high-severity vulnerability in Shopware, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 8.3/10. Published 2024-08-08.
How severe is CVE-2024-42355?
High severity. CVSS v3 base score is 8.3 out of 10.
Is CVE-2024-42355 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.