CVE-2023-2017
Shopware SSTI Remote Code Execution
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.
INFO
Published Date :
April 17, 2023, 11:15 a.m.
Last Modified :
April 28, 2023, 2:27 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-2017
.
URL | Resource |
---|---|
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 | Vendor Advisory |
https://starlabs.sg/advisories/23/23-2017/ | Exploit Mitigation Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-2017
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-2017
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Apr. 28, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023 No Types Assigned https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2023 Vendor Advisory Changed Reference Type https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f No Types Assigned https://github.com/shopware/platform/security/advisories/GHSA-7v2v-9rm4-7m8f Vendor Advisory Changed Reference Type https://starlabs.sg/advisories/23/23-2017/ No Types Assigned https://starlabs.sg/advisories/23/23-2017/ Exploit, Mitigation, Third Party Advisory Added CWE NIST CWE-94 Added CPE Configuration OR *cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:* versions from (including) 6.1.0 up to (including) 6.4.20.0 *cpe:2.3:a:shopware:shopware:6.5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:shopware:shopware:6.5.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:shopware:shopware:6.5.0.0:rc3:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 19, 2023
Action Type Old Value New Value Added Reference https://starlabs.sg/advisories/23/23-2017/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-2017
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-2017
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.89 }} 0.26%
score
0.83222
percentile