{"api_version":"1","generated_at":"2026-04-23T11:21:08+00:00","cve":"CVE-2023-2017","urls":{"html":"https://cve.report/CVE-2023-2017","api":"https://cve.report/api/cve/CVE-2023-2017.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-2017","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-2017"},"summary":{"title":"CVE-2023-2017","description":"Server-side Template Injection (SSTI) in Shopware 6 (<= v6.4.20.0, v6.5.0.0-rc1 <= v6.5.0.0-rc4), affecting both shopware/core and shopware/platform GitHub repositories, allows remote attackers with access to a Twig environment without the Sandbox extension to bypass the validation checks in `Shopware\\Core\\Framework\\Adapter\\Twig\\SecurityExtension` and call any arbitrary PHP function and thus execute arbitrary code/commands via usage of fully-qualified names, supplied as array of strings, when referencing callables. Users are advised to upgrade to v6.4.20.1 to resolve this issue. This is a bypass of CVE-2023-22731.","state":"PUBLIC","assigner":"info@starlabs.sg","published_at":"2023-04-17 11:15:00","updated_at":"2023-04-28 14:27:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"https://starlabs.sg/advisories/23/23-2017/","name":"https://starlabs.sg/advisories/23/23-2017/","refsource":"MISC","tags":[],"title":"(CVE-2023-2017) Shopware 6 Server-side Template Injection (SSTI) via Twig Security Extension | STAR Labs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f","name":"https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f","refsource":"MISC","tags":[],"title":"Improper Control of Generation of Code in Twig rendered views · Advisory · shopware/platform · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023","name":"https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023","refsource":"MISC","tags":[],"title":"Shopware 6 - Security Updates - Security Update 04/2023","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2017","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2017","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"2017","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shopware","cpe5":"shopware","cpe6":"6.5.0.0","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2017","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shopware","cpe5":"shopware","cpe6":"6.5.0.0","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2017","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shopware","cpe5":"shopware","cpe6":"6.5.0.0","cpe7":"rc3","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2017","vulnerable":"1","versionEndIncluding":"6.4.20.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shopware","cpe5":"shopware","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-2017","ASSIGNER":"info@starlabs.sg","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Server-side Template Injection (SSTI) in Shopware 6 (<= v6.4.20.0, v6.5.0.0-rc1 <= v6.5.0.0-rc4), affecting both shopware/core and shopware/platform GitHub repositories, allows remote attackers with access to a Twig environment without the Sandbox extension to bypass the validation checks in `Shopware\\Core\\Framework\\Adapter\\Twig\\SecurityExtension` and call any arbitrary PHP function and thus execute arbitrary code/commands via usage of fully-qualified names, supplied as array of strings, when referencing callables. Users are advised to upgrade to v6.4.20.1 to resolve this issue. This is a bypass of CVE-2023-22731.\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-184 Incomplete List of Disallowed Inputs","cweId":"CWE-184"}]},{"description":[{"lang":"eng","value":"CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine","cweId":"CWE-1336"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Shopware AG","product":{"product_data":[{"product_name":"Shopware 6","version":{"version_data":[{"version_affected":"<=","version_name":"0","version_value":"6.4.20.0"},{"version_affected":"<=","version_name":"6.5.0.0-rc1","version_value":"6.5.0.0-rc4"}]}}]}}]}},"references":{"reference_data":[{"url":"https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023","refsource":"MISC","name":"https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023"},{"url":"https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f","refsource":"MISC","name":"https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f"},{"url":"https://starlabs.sg/advisories/23/23-2017/","refsource":"MISC","name":"https://starlabs.sg/advisories/23/23-2017/"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"EXTERNAL"},"solution":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"\nUsers are advised to upgrade to v6.4.20.1 to resolve this issue.\n\n<br>"}],"value":"Users are advised to upgrade to v6.4.20.1 to resolve this issue.\n\n\n"}],"credits":[{"lang":"en","value":"Ngo Wei Lin (@Creastery) of STAR Labs SG Pte. Ltd. (@starlabs_sg)"}],"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"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:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-04-17 11:15:00","lastModifiedDate":"2023-04-28 14:27:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:shopware:shopware:6.5.0.0:rc2:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:shopware:shopware:6.5.0.0:rc3:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:shopware:shopware:6.5.0.0:rc1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.0","versionEndIncluding":"6.4.20.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}