CVE-2023-30154

Multiple improper neutralization of SQL parameters in module AfterMail (aftermailpresta) for PrestaShop, before version 2.2.1, allows remote attackers to…

published October 14, 2023

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

⚠️ A simple SQL parameter misstep could open the door to chaos! In the AfterMail module for PrestaShop before version 2.2.1, attackers can exploit improperly sanitized parameters like `id_product` for SQL injection attacks. 🔥 Think of it like a restaurant where customers can place orders without the staff checking for allergies. If the kitchen doesn’t verify the orders, someone could sneak in anything—hidden ingredients could lead to a disaster! An attacker could potentially manipulate the database, accessing or altering sensitive customer information at will. It’s like giving a stranger the power to change menu items behind the scenes, leading to a complete loss of control over the system. This could have far-reaching consequences for the integrity of your data and customer trust.

Put simply

Think of it like a restaurant where customers can place orders without the staff checking for allergies. If the kitchen doesn’t verify the orders, someone could sneak in anything—hidden ingredients could lead to a disaster! This vulnerability arises from the improper neutralization of SQL parameters in the AfterMail module. Attackers can inject malicious SQL code through parameters like `id_customer`, `id_conf`, `id_product`, and `token` in the `aftermailajax.php` file, compromising the database's security.

What to do

An attacker could potentially manipulate the database, accessing or altering sensitive customer information at will. It’s like giving a stranger the power to change menu items behind the scenes, leading to a complete loss of control over the system. This could have far-reaching consequences for the integrity of your data and customer trust. To secure your PrestaShop installation, update the AfterMail module to version 2.2.1 or later immediately. Regularly audit your code for SQL injection vulnerabilities and ensure all user inputs are properly sanitized and validated. 🛡️ You've got this! Take these steps, and you'll have your defenses bolstered in no time! ⚡

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00797 · 56.0th percentile
Published
2023-10-14T00:00Z
EPSS history
Timeline
  • 14 OCT 00:00Z
    Multiple improper neutralization of SQL parameters in module AfterMail (aftermailpresta) for PrestaShop, before version 2.2.1, allows remote attackers to…
    cvelistv5