Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopware/core
  4. ›
  5. CVE-2024-22406

CVE-2024-22406: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

January 17, 2024

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.

References

  • github.com/advisories/GHSA-qmp9-2xwj-m6m9
  • github.com/shopware/core/commit/e2256ec81e56f792623e90d89786d8a9fcad28bf
  • github.com/shopware/shopware/commit/5005213e609f5a4423fcfa92f105c3de8ab35100
  • github.com/shopware/shopware/releases/tag/v6.5.7.4
  • github.com/shopware/shopware/security/advisories/GHSA-qmp9-2xwj-m6m9
  • nvd.nist.gov/vuln/detail/CVE-2024-22406

Code Behaviors & Features

Detect and mitigate CVE-2024-22406 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 6.5.7.3

Fixed versions

  • 6.5.7.4

Solution

Upgrade to version 6.5.7.4 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/shopware/core/CVE-2024-22406.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.