CVE-2023-50029

PHP Injection vulnerability in the module "M4 PDF Extensions" (m4pdf) up to version 3.3.2 from PrestaAddons for PrestaShop allows attackers to run arbitrary…

Critical · published June 24, 2024

CVSS v3.1
10.0
EPSS
1%
Percentile
55.9
In the wild
Unconfirmed
What it is

🚨 A PHP injection vulnerability in PrestaShop's M4 PDF Extensions module allows attackers to execute their own code with just one method call! 🔥 Think of it like a chef sneaking an unapproved recipe into the kitchen — instead of just making dessert, they could whip up something entirely different that could ruin the whole meal. If exploited, an attacker could seize control of your server, install malware, or steal sensitive data, leading to an absolute disaster for your business. This vulnerability opens the door to remote code execution, giving attackers the power to wreak havoc.

Put simply

Think of it like a chef sneaking an unapproved recipe into the kitchen — instead of just making dessert, they could whip up something entirely different that could ruin the whole meal. This vulnerability stems from improper handling in the M4PDF::saveTemplate() method, which allows an attacker to inject arbitrary PHP code into the application, effectively bypassing security measures.

What to do

If exploited, an attacker could seize control of your server, install malware, or steal sensitive data, leading to an absolute disaster for your business. This vulnerability opens the door to remote code execution, giving attackers the power to wreak havoc. Upgrade to version 3.3.3 or later of the M4 PDF Extensions module immediately. Also, review your code for any other potential injection points and implement stricter validation on user inputs. You've got this! Take action now, and you'll keep your server safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00792 · 55.9th percentile
Published
2024-06-24T00:00Z
EPSS history
Timeline
  • 24 JUN 00:00Z
    PHP Injection vulnerability in the module "M4 PDF Extensions" (m4pdf) up to version 3.3.2 from PrestaAddons for PrestaShop allows attackers to run arbitrary…
    cvelistv5