CVE-2024-22406: Blind SQL-injection in DAL aggregations in Shopware
Impact The Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the “aggregations” object. The ‘name’ field in this “aggregations” object is vulnerable SQL-injection and can be exploited using time-based SQL-queries.
Patches Update to Shopware 6.5.7.4
Workarounds For older versions of 6.1, 6.2, 6.3 and 6.4 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
Other sources
Shopware is an open headless commerce platform. The Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the “aggregations” object. The ‘name’ field in this “aggregations” object is vulnerable SQL-injection and can be exploited using time-based SQL-queries. This issue has been addressed and users are advised to update to Shopware 6.5.7.4. For older versions of 6.1, 6.2, 6.3 and 6.4 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/shopware/platformto a version that resolves this vulnerability.Fixed in 6.5.7.4 - Upgrade
Upgrade
composer/shopware/coreto a version that resolves this vulnerability.Fixed in 6.5.7.4 - Upgrade
Upgrade
Shopwareto a version that resolves this vulnerability.Fixed in 6.5.7.4
Event History
Frequently Asked Questions
What is the severity of CVE-2024-22406?
CVE-2024-22406 is classified as a high severity vulnerability due to its potential impact on the Shopware application API.
How do I fix CVE-2024-22406?
To resolve CVE-2024-22406, users should upgrade their Shopware instances to version 6.5.7.4 or later.
What versions of Shopware are affected by CVE-2024-22406?
CVE-2024-22406 affects Shopware versions up to and including 6.5.7.3.
What type of vulnerability is CVE-2024-22406?
CVE-2024-22406 is a security vulnerability found in the Shopware application API related to its search functionality.
Who is impacted by CVE-2024-22406?
Any user of Shopware versions up to 6.5.7.3 utilizing the API search functionality is impacted by CVE-2024-22406.