{"id":"CVE-2024-42355","state":"PUBLISHED","title":"Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag","description":"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.","publishedAt":"2024-08-08T14:49:38.492Z","updatedAt":"2024-08-08T15:32:50.503Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["shopware shopware"],"affected":[{"vendor":"shopware","product":"shopware","versions":[{"version":"<= 6.5.8.12","status":"affected"},{"version":">= 6.6.0.0, <= 6.6.5.0","status":"affected"}]}],"references":["https://github.com/shopware/shopware/security/advisories/GHSA-27wp-jvhw-v4xp","https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f","https://github.com/shopware/core/commit/d35ee2eda5c995faeb08b3dad127eab65c64e2a2","https://github.com/shopware/shopware/commit/445c6763cc093fbd651e0efaa4150deae4ae60da","https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac"],"weaknesses":["CWE-1336"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42355.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-42355","state":"PUBLISHED","datePublished":"2024-08-08T14:49:38.492Z","dateUpdated":"2024-08-08T15:32:50.503Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-07-30T14:01:33.922Z"},"containers":{"cna":{"title":"Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"shopware","product":"shopware","versions":[{"version":"<= 6.5.8.12","status":"affected"},{"version":">= 6.6.0.0, <= 6.6.5.0","status":"affected"}]}],"references":[{"url":"https://github.com/shopware/shopware/security/advisories/GHSA-27wp-jvhw-v4xp","name":"https://github.com/shopware/shopware/security/advisories/GHSA-27wp-jvhw-v4xp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f","name":"https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f","tags":["x_refsource_MISC"]},{"url":"https://github.com/shopware/core/commit/d35ee2eda5c995faeb08b3dad127eab65c64e2a2","name":"https://github.com/shopware/core/commit/d35ee2eda5c995faeb08b3dad127eab65c64e2a2","tags":["x_refsource_MISC"]},{"url":"https://github.com/shopware/shopware/commit/445c6763cc093fbd651e0efaa4150deae4ae60da","name":"https://github.com/shopware/shopware/commit/445c6763cc093fbd651e0efaa4150deae4ae60da","tags":["x_refsource_MISC"]},{"url":"https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac","name":"https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-08-08T14:49:38.492Z"},"source":{"advisory":"GHSA-27wp-jvhw-v4xp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"shopware","product":"shopware","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"6.5.8.13","versionType":"custom"},{"version":"6.6.0.0","status":"affected","lessThan":"6.6.5.1","versionType":"custom"}],"cpes":["cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-08T15:26:25.050210Z","id":"CVE-2024-42355","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-08T15:32:50.503Z"}}]}}}