CVE-2023-30149

SQL injection vulnerability in the City Autocomplete (cityautocomplete) module from ebewe.net for PrestaShop, prior to version 1.8.12 (for PrestaShop version…

Critical · published June 2, 2023

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

🚨 SQL injection alert! A vulnerable module in PrestaShop allows attackers to slip in arbitrary SQL commands like a magician pulling a rabbit out of a hat. 🔥 Think of the City Autocomplete module as a restaurant that takes orders without checking the kitchen. An attacker could place a sneakily crafted order that lets them cook whatever they want, bypassing all safety checks! With a CVSS score of 9.8, this vulnerability is absolutely devastating! If exploited, attackers could manipulate the database, potentially gaining access to sensitive information or even causing complete chaos. Your online business could be turned into a playground for malicious behavior, threatening not just data but your customer trust as well.

Put simply

Think of the City Autocomplete module as a restaurant that takes orders without checking the kitchen. An attacker could place a sneakily crafted order that lets them cook whatever they want, bypassing all safety checks! This SQL injection vulnerability in the cityautocomplete module for PrestaShop allows attackers to exploit the type, input_name, or q parameters in autocompletion.php, executing arbitrary SQL commands and compromising the database integrity.

What to do

With a CVSS score of 9.8, this vulnerability is absolutely devastating! If exploited, attackers could manipulate the database, potentially gaining access to sensitive information or even causing complete chaos. Your online business could be turned into a playground for malicious behavior, threatening not just data but your customer trust as well. Immediately upgrade to PrestaShop version 1.8.12 or later for versions 1.5/1.6, and to version 2.0.3 for version 1.7. Additionally, review and sanitize all user inputs to prevent SQL injections and implement prepared statements. You've got this! By following these steps, you'll be able to secure your site 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.16904 · 97.1th percentile
Published
2023-06-02T00:00Z
EPSS history
Timeline
  • 02 JUN 00:00Z
    SQL injection vulnerability in the City Autocomplete (cityautocomplete) module from ebewe.net for PrestaShop, prior to version 1.8.12 (for PrestaShop version…
    cvelistv5