High severity · published Apr 17, 2023
CVE-2023-2017
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…
8.8
CVSS
2.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.1% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SH
Shopware · Shopware
6.1.0 through 6.4.20.0; 6.5.0.0; 6.5.0.0; 6.5.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-2017
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-2017
Vendor Advisory
https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023
Vendor Advisory
https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f
Exploit
https://starlabs.sg/advisories/23/23-2017/
More from Shopware
9.8
CVE-2024-42357
Shopware is an open commerce platform
9.8
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
9.8
CVE-2024-22406
Shopware is an open headless commerce platform
9.8
CVE-2023-22732
Shopware is an open source commerce platform based on Symfony Framework and Vue js
9.8
CVE-2021-37708
Shopware is an open source eCommerce platform
