CVE-2024-42356
Last modified
CVE-2024-42356 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. Shopware is an open commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, the `context` variable is injected into almost any Twig Template and allows to access to current language, currency information. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
Description
Shopware is an open commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, the `context` variable is injected into almost any Twig Template and allows to access to current language, currency information. The context object allows also to switch for a short time the scope of the Context as a helper with a callable function. The function can be called also from Twig and as the second parameter allows any callable, it's possible to call from Twig any statically callable PHP function/method. It's not possible as customer to provide any Twig code, the attacker would require access to Administration to exploit it using Mail templates or using App Scripts. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.1, 6.2, 6.3 and 6.4 corresponding security measures are also available via a plugin.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Shopware | Shopware | < 6.5.8.13 |
| Shopware | Shopware | >= 6.6.0.0, < 6.6.5.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-42356?
How severe is CVE-2024-42356?
How do I fix CVE-2024-42356?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-42350Biscuit is an authorization token with decentralized verific…3
- CVE-2024-42351Galaxy is a free, open-source system for analyzing data, aut…9.1
- CVE-2024-42352Nuxt is a free and open-source framework to create full-stac…7.5
- CVE-2024-42353WebOb provides objects for HTTP requests and responses. When…6.1
- CVE-2024-42354Shopware is an open commerce platform. The store-API works w…5.9
- CVE-2024-42355Shopware, an open ecommerce platform, has a new Twig Tag `sw…9.8
- CVE-2024-42357Shopware is an open commerce platform. Prior to versions 6.6…9.8
- CVE-2024-42358PDFio is a simple C library for reading and writing PDF file…5.5
- CVE-2024-4236A vulnerability, which was classified as critical, has been …8.8
- CVE-2024-42360SequenceServer lets you rapidly set up a BLAST+ server with …9.8
- CVE-2024-42361Hertzbeat is an open source, real-time monitoring system. He…9.8
- CVE-2024-42362Hertzbeat is an open source, real-time monitoring system. He…8.8
Are you affected by CVE-2024-42356?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
