CVE-2021-3110

The store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller=CommentGrade id_products[] parameter

published January 20, 2021

CVSS
โ€”
EPSS
19%
Percentile
97.3
In the wild
Unconfirmed
What it is

โš ๏ธ A simple parameter might open a backdoor! The PrestaShop 1.7.7.0 system allows time-based boolean SQL injection through the product comments module โ€” like a restaurant accepting any note without checking the actual order. ๐Ÿ” Think of this like a restaurant that receives an order note but doesn't verify the details. They might accidentally serve a dish that nobody actually wanted, just because they didn't check the kitchen's inventory first. An attacker could exploit this vulnerability to execute arbitrary SQL queries on your database, potentially allowing them to steal sensitive customer information or manipulate product data. This could lead to serious reputation damage and financial losses for your store!

Put simply

Think of this like a restaurant that receives an order note but doesn't verify the details. They might accidentally serve a dish that nobody actually wanted, just because they didn't check the kitchen's inventory first. This vulnerability arises from insufficient input validation in the module=productcomments controller. It allows attackers to inject malicious SQL, leveraging the id_products[] parameter to perform time-based attacks.

What to do

An attacker could exploit this vulnerability to execute arbitrary SQL queries on your database, potentially allowing them to steal sensitive customer information or manipulate product data. This could lead to serious reputation damage and financial losses for your store! To safeguard your PrestaShop installation, update to the latest version immediately. Additionally, review your input validation practices and consider implementing prepared statements to prevent similar vulnerabilities in the future. ๐Ÿ”’ You've got this! With these steps, you'll secure your store and keep the bad guys out! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.18653 ยท 97.3th percentile
Published
2021-01-20T12:11Z
EPSS history
Timeline
  • 20 JAN 12:11Z
    The store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller=CommentGrade id_products[] parameter
    cvelistv5