CVE-2023-30194

Prestashop posstaticfooter <= 1.0.0 is vulnerable to SQL Injection via posstaticfooter::getPosCurrentHook()

Critical · published May 10, 2023

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

🚨 A single call to `getPosCurrentHook()` can unleash a SQL injection nightmare in Prestashop! 🔥 Think of it like a waiter who takes orders without confirming them; a sneaky customer could easily swap in something entirely different without a second glance. That’s how this vulnerability could let attackers manipulate your database unchallenged! An attacker could exploit this flaw to execute arbitrary SQL commands, potentially gaining access to sensitive data, altering or deleting records, or even taking full control of your database. This is absolutely devastating for any e-commerce business relying on customer trust and data integrity!

Put simply

Think of it like a waiter who takes orders without confirming them; a sneaky customer could easily swap in something entirely different without a second glance. That’s how this vulnerability could let attackers manipulate your database unchallenged! This SQL Injection vulnerability in Prestashop's `posstaticfooter` module allows unauthorized SQL commands to be executed via user input, due to a lack of proper input validation in the `getPosCurrentHook()` function.

What to do

An attacker could exploit this flaw to execute arbitrary SQL commands, potentially gaining access to sensitive data, altering or deleting records, or even taking full control of your database. This is absolutely devastating for any e-commerce business relying on customer trust and data integrity! To protect your store, immediately update the `posstaticfooter` module to version 1.0.1 or later. Additionally, review your input validation routines and consider implementing prepared statements for database queries. Don’t wait on this one! You've got this! Follow these steps and you'll keep your store secure and thriving! 🛡️

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.32413 · 98.3th percentile
Published
2023-05-10T00:00Z
EPSS history
Timeline
  • 10 MAY 00:00Z
    Prestashop posstaticfooter <= 1.0.0 is vulnerable to SQL Injection via posstaticfooter::getPosCurrentHook()
    cvelistv5