CVE-2023-22731
Last modified
CVE-2023-22731 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Shopware is an open source commerce platform based on Symfony Framework and Vue js. In a Twig environment **without the Sandbox extension**, it is possible to refer to PHP functions in twig filters like `map`, `filter`, `sort`. EPSS estimates a 1.33% chance of exploitation in the next 30 days.
Description
Shopware is an open source commerce platform based on Symfony Framework and Vue js. In a Twig environment **without the Sandbox extension**, it is possible to refer to PHP functions in twig filters like `map`, `filter`, `sort`. This allows a template to call any global PHP function and thus execute arbitrary code. The attacker must have access to a Twig environment in order to exploit this vulnerability. This problem has been fixed with 6.4.18.1 with an override of the specified filters until the integration of the Sandbox extension has been finished. Users are advised to upgrade. Users of major versions 6.1, 6.2, and 6.3 may also receive this fix via a plugin.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Shopware | Shopware | < 6.4.18.1 |
References
- https://github.com/shopware/platform/commit/89d1ea154689cb6202e0d3a0ceeae0febb0c09e1Patch, Third Party Advisory
- https://github.com/shopware/platform/security/advisories/GHSA-93cw-f5jj-x85wThird Party Advisory
- https://github.com/shopware/platform/commit/89d1ea154689cb6202e0d3a0ceeae0febb0c09e1Patch, Third Party Advisory
- https://github.com/shopware/platform/security/advisories/GHSA-93cw-f5jj-x85wThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-22731?
How severe is CVE-2023-22731?
How do I fix CVE-2023-22731?
Are you affected by CVE-2023-22731?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
