CVE-2023-31671

PrestaShop postfinance <= 17.1.13 is vulnerable to SQL Injection via PostfinanceValidationModuleFrontController::postProcess()

Critical · published June 14, 2023

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

🔥 An SQL injection vulnerability in PrestaShop's Postfinance module allows attackers to wreak havoc with just one crafty input! Think of it as a restaurant that doesn’t check your order before cooking – one misleading request can lead to a disaster in the kitchen, serving up anything the attacker wants instead of your meal! An attacker could manipulate the SQL queries, gaining unfettered access to sensitive data, altering records, or even wiping out the database entirely. This could be absolutely devastating for e-commerce operations, putting customer data and business integrity at serious risk!

Put simply

Think of it as a restaurant that doesn’t check your order before cooking – one misleading request can lead to a disaster in the kitchen, serving up anything the attacker wants instead of your meal! The vulnerability exists in PrestaShop’s PostfinanceValidationModuleFrontController::postProcess() method, which fails to properly sanitize input, allowing crafted SQL commands to be executed by the database.

What to do

An attacker could manipulate the SQL queries, gaining unfettered access to sensitive data, altering records, or even wiping out the database entirely. This could be absolutely devastating for e-commerce operations, putting customer data and business integrity at serious risk! To protect your store, upgrade to PrestaShop version 17.1.14 or later immediately. Additionally, review your input validation practices to ensure all user inputs are sanitized properly. You've got this! By taking these steps, you’ll lock down your store and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00620 · 49.1th percentile
Published
2023-06-14T00:00Z
EPSS history
Timeline
  • 14 JUN 00:00Z
    PrestaShop postfinance <= 17.1.13 is vulnerable to SQL Injection via PostfinanceValidationModuleFrontController::postProcess()
    cvelistv5