CVE-2024-25849

In the module "Make an offer" (makeanoffer) <= 1.7.1 from PrestaToolKit for PrestaShop, a guest can perform SQL injection via…

Critical · published March 8, 2024

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

🔥 An unassuming guest can launch a full-blown SQL injection attack in PrestaShop's "Make an Offer" module! 😱 Think of it like a restaurant where anyone can walk in and change the menu without needing a reservation—suddenly, you’re serving all kinds of unexpected dishes! An attacker could exploit this vulnerability to manipulate the database entirely—gaining unauthorized access to sensitive data, altering offers, or even deleting records. This could lead to significant financial loss and trust issues for the business. Absolutely devastating!

Put simply

Think of it like a restaurant where anyone can walk in and change the menu without needing a reservation—suddenly, you’re serving all kinds of unexpected dishes! This SQL injection vulnerability arises in the makeanoffer module (<= 1.7.1) when untrusted input isn't properly sanitized in the methods MakeOffers::checkUserExistingOffer() and MakeOffers::addUserOffer(). This oversight allows attackers to craft malicious SQL statements to execute arbitrary queries.

What to do

An attacker could exploit this vulnerability to manipulate the database entirely—gaining unauthorized access to sensitive data, altering offers, or even deleting records. This could lead to significant financial loss and trust issues for the business. Absolutely devastating! Upgrade to the latest version of PrestaToolKit immediately to patch this vulnerability. Implement input validation and prepared statements to ensure that user inputs are sanitized effectively. Regularly review your database access permissions and logs to monitor for suspicious activity. You've got this! Secure your setup and keep your PrestaShop fortress strong! 🛡️

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.00636 · 49.8th percentile
Published
2024-03-08T00:00Z
EPSS history
Timeline
  • 08 MAR 00:00Z
    In the module "Make an offer" (makeanoffer) <= 1.7.1 from PrestaToolKit for PrestaShop, a guest can perform SQL injection via…
    cvelistv5