CVE-2023-34575

SQL injection vulnerability in PrestaShop opartsavecart through 2.0.7 allows remote attackers to run arbitrary SQL commands via…

Critical · published September 20, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
62.1
In the wild
Unconfirmed
What it is

🚨 An unchecked SQL command is a recipe for disaster! PrestaShop's opartsavecart can let attackers run arbitrary SQL commands with just a sneaky request. 🔥 Think of it as a restaurant where anyone can write their own orders on the kitchen's ticket pad — they could ask for whatever dish they want, even ones that don’t exist! This vulnerability gives attackers the ability to manipulate your database in dangerous ways. With this vulnerability, a remote attacker could potentially unleash a barrage of SQL commands, leading to unauthorized access to sensitive data, data corruption, or even complete takeover of your database. The consequences could be absolutely devastating — imagine losing customer data or having your entire store manipulated!

Put simply

Think of it as a restaurant where anyone can write their own orders on the kitchen's ticket pad — they could ask for whatever dish they want, even ones that don’t exist! This vulnerability gives attackers the ability to manipulate your database in dangerous ways. This SQL injection vulnerability exists in PrestaShop's opartsavecart module through the initContent() and displayAjaxSendCartByEmail() methods, allowing attackers to execute arbitrary SQL code via crafted requests.

What to do

With this vulnerability, a remote attacker could potentially unleash a barrage of SQL commands, leading to unauthorized access to sensitive data, data corruption, or even complete takeover of your database. The consequences could be absolutely devastating — imagine losing customer data or having your entire store manipulated! Immediately upgrade to PrestaShop version 2.0.8 or later to close this vulnerability. Additionally, review your input validation and ensure that all SQL queries are parameterized to prevent future injections. Don't wait — the database is key! You’ve got this! Follow these steps and you’ll have your shop secure in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
CVSS v4.0
Not supplied
EPSS
0.00989 · 62.1th percentile
Published
2023-09-20T00:00Z
EPSS history
Timeline
  • 20 SEP 00:00Z
    SQL injection vulnerability in PrestaShop opartsavecart through 2.0.7 allows remote attackers to run arbitrary SQL commands via…
    cvelistv5