CVE-2022-44727

The EU Cookie Law GDPR (Banner + Blocker) module before 2.1.3 for PrestaShop allows SQL Injection via a cookie ( lgcookieslaw or __lglaw )

Critical · published November 10, 2022

CVSS v3.1
9.1
EPSS
3%
Percentile
85.6
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection vulnerability is hiding in the EU Cookie Law module for PrestaShop, and it’s ready for exploitation! Imagine a restaurant that serves food but forgets to check the customers' IDs at the door. A clever diner could hand over a fake ID and order anything off the menu—this is what attackers can do with this vulnerability if they exploit it! An attacker could manipulate the SQL queries, allowing them to access sensitive data, modify records, or even gain full control over the database. The implications could be absolutely devastating, especially if customer data is compromised. 🔥

Put simply

Imagine a restaurant that serves food but forgets to check the customers' IDs at the door. A clever diner could hand over a fake ID and order anything off the menu—this is what attackers can do with this vulnerability if they exploit it! This SQL injection vulnerability arises from insufficient validation on cookies (lgcookieslaw or __lglaw), allowing attackers to inject malicious SQL statements through the cookie. This can completely bypass security measures and lead to unauthorized access to the database.

What to do

An attacker could manipulate the SQL queries, allowing them to access sensitive data, modify records, or even gain full control over the database. The implications could be absolutely devastating, especially if customer data is compromised. 🔥 Update the EU Cookie Law module to version 2.1.3 immediately to patch this vulnerability. Additionally, review your cookie handling and ensure that all user inputs are properly sanitized to prevent malicious injections in the future. You've got this! By taking these steps, you’ll be well on your way to securing your PrestaShop instance! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.02670 · 85.6th percentile
Published
2022-11-10T00:00Z
EPSS history
Timeline
  • 10 NOV 00:00Z
    The EU Cookie Law GDPR (Banner + Blocker) module before 2.1.3 for PrestaShop allows SQL Injection via a cookie ( lgcookieslaw or __lglaw )
    cvelistv5