CVE-2022-31181CWE-74CWE-89

Remote code execution in prestashop

Critical · published August 1, 2022

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

🚨 A crafty SQL injection in PrestaShop could let attackers execute PHP's Eval function with malicious input—yikes! 🔥 Think of it like a restaurant that doesn't check the ingredients before serving—an unscrupulous chef could easily swap in something harmful, and no one would notice until it’s too late! This vulnerability is nothing to sneeze at; an attacker could potentially gain full control over your e-commerce setup, manipulate your data, or even take your site offline! The impacts could range from financial loss to severe damage to your reputation—absolutely devastating!

Put simply

Think of it like a restaurant that doesn't check the ingredients before serving—an unscrupulous chef could easily swap in something harmful, and no one would notice until it’s too late! This SQL injection vulnerability allows unauthenticated users to inject malicious SQL queries that can manipulate the database and execute arbitrary PHP code through the Eval function, exposing sensitive data and compromising the entire application.

What to do

This vulnerability is nothing to sneeze at; an attacker could potentially gain full control over your e-commerce setup, manipulate your data, or even take your site offline! The impacts could range from financial loss to severe damage to your reputation—absolutely devastating! Upgrade your PrestaShop to version 1.7.8.7 immediately to patch this issue. If upgrading isn’t an option, you can disable the MySQL Smarty cache feature as a temporary workaround, but don't wait long! You've got this! Follow these steps, and you'll be a security hero in no time! 🛡️

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.06716 · 93.9th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-08-01T19:30Z
EPSS history
Timeline
  • 01 AUG 19:30Z
    Remote code execution in prestashop
    cvelistv5