CVE-2024-22406CWE-89

Blind SQL-injection in DAL aggregations in Shopware

Critical · published January 16, 2024

CVSS v3.1
9.3
EPSS
1%
Percentile
50.0
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection hides in the search feature of Shopware! By exploiting the ‘name’ field in the aggregations object, attackers could craft time-based queries that reveal sensitive data. 🔥 Think of it like a waiter mistakenly serving customers someone else's orders because they didn't check the names — a trust fall that can lead to serious mix-ups! Here, the 'name' field is just as careless, letting malicious requests slip through unnoticed. An attacker could leverage this vulnerability to manipulate the database, potentially exposing sensitive information or even altering data. If left unaddressed, this could lead to unauthorized access, impacting not just one user but potentially exposing the entire Shopware instance to compromise. Yikes!

Put simply

Think of it like a waiter mistakenly serving customers someone else's orders because they didn't check the names — a trust fall that can lead to serious mix-ups! Here, the 'name' field is just as careless, letting malicious requests slip through unnoticed. This vulnerability allows for SQL injection through the 'name' field in the aggregations object of the Shopware API, enabling attackers to execute arbitrary SQL queries via time-based techniques. This could compromise the integrity and confidentiality of data stored in the application.

What to do

An attacker could leverage this vulnerability to manipulate the database, potentially exposing sensitive information or even altering data. If left unaddressed, this could lead to unauthorized access, impacting not just one user but potentially exposing the entire Shopware instance to compromise. Yikes! Immediately update to Shopware version 6.5.7.4 to eliminate this vulnerability. For users on older versions (6.1 to 6.4), apply the corresponding security measures through available plugins. Regularly audit your configurations to ensure security best practices are maintained. You’ve got this! With these steps, you’ll be reinforcing your Shopware defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00640 · 50.0th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-01-16T22:30Z
EPSS history
Timeline
  • 16 JAN 22:30Z
    Blind SQL-injection in DAL aggregations in Shopware
    cvelistv5