CVE-2023-46357

In the module "Cross Selling in Modal Cart" (motivationsale) < 3.5.0 from MyPrestaModules for PrestaShop, a guest can perform SQL injection

published November 22, 2023

CVSS
—
EPSS
1%
Percentile
53.2
In the wild
Unconfirmed
What it is

🚨 A guest user can unleash a SQL injection just by making a simple HTTP call! This vulnerability in the 'Cross Selling in Modal Cart' module for PrestaShop is a sneaky one. 🔥 Think of it like a restaurant's order system that accepts any dish request without verifying it first. If a customer can just write whatever they want, they could order all the expensive items on the menu for free! An attacker could exploit this vulnerability to manipulate the database, potentially accessing or altering sensitive information. This could lead to unauthorized data exposure, a real recipe for disaster. Imagine the chaos if someone could change order details or even access customer data!

Put simply

Think of it like a restaurant's order system that accepts any dish request without verifying it first. If a customer can just write whatever they want, they could order all the expensive items on the menu for free! In the motivationsale module (versions < 3.5.0), the method `motivationsaleDataModel::getProductsByIds()` contains vulnerable SQL calls that can be executed by simply crafting an HTTP request, allowing for SQL injection. This means an attacker can inject malicious SQL commands into the system.

What to do

An attacker could exploit this vulnerability to manipulate the database, potentially accessing or altering sensitive information. This could lead to unauthorized data exposure, a real recipe for disaster. Imagine the chaos if someone could change order details or even access customer data! To secure your system, immediately update the motivationsale module to version 3.5.0 or later. Additionally, consider sanitizing all input data and using prepared statements to prevent SQL injection vulnerabilities in the future. You've got this! Take these steps, and you’ll fortify your site against this SQL injection! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00714 · 53.2th percentile
Published
2023-11-22T00:00Z
EPSS history
Timeline
  • 22 NOV 00:00Z
    In the module "Cross Selling in Modal Cart" (motivationsale) < 3.5.0 from MyPrestaModules for PrestaShop, a guest can perform SQL injection
    cvelistv5