Skip to main content

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CVE-2024-22406

Severity High
Score 9.8/10

Summary

Shopware is an open headless commerce platform. The Shopware application API contains a search functionality that 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 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version. This vulnerability affects shopware/core and shopware/platform packages versions prior to 6.5.7.4.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-89 - SQL Injection

Structured Query Language (SQL) injection attacks are one of the most common types of vulnerabilities. They exploit weaknesses in vulnerable applications to gain unauthorized access to backend databases. This often occurs when an attacker enters unexpected SQL syntax in an input field. The resulting SQL statement behaves in the background in an unintended manner, which allows the possibility of unauthorized data retrieval, data modification, execution of database administration operations, and execution of commands on the operating system.

Advisory Timeline

  • Published