CVE-2024-42357: Shopware vulnerable to blind SQL-injection in DAL aggregations
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 SQL parameters.
Patches
Update to Shopware 6.6.5.1 or 6.5.8.13
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.
Credit
LogicalTrust
Other sources
Shopware is an open commerce platform. Prior to versions 6.6.5.1 and 6.5.8.13, 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 SQL parameters. 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.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-42357?
CVE-2024-42357 has been classified as a moderate severity vulnerability.
How do I fix CVE-2024-42357?
To fix CVE-2024-42357, you should update Shopware to version 6.6.5.1 or 6.5.8.13 as appropriate.
What causes CVE-2024-42357?
CVE-2024-42357 is caused by a flaw in the Shopware application API's search functionality related to aggregation parameters.
Which versions of Shopware are affected by CVE-2024-42357?
CVE-2024-42357 affects Shopware versions from 6.6.0.0 to 6.6.5.0 and versions up to 6.5.8.12.
Is there any workaround for CVE-2024-42357?
There are no official workarounds for CVE-2024-42357; updating to a patched version is recommended.