CVE-2022-39365CWE-94

RCE vulnerability in Pimcore/Mail & Dynamic Text Layout

Critical · published October 27, 2022

CVSS v3.1
9.8
EPSS
2%
Percentile
78.6
In the wild
Unconfirmed
What it is

🚨 An uninvited guest can take full control! Pimcore's twig templates rendering is vulnerable to server-side template injection, allowing attackers to execute remote code before version 10.5.9. 🔥 Think of it like giving a stranger the ability to dictate your restaurant’s menu without checking what they ordered — if they’re sneaky enough, they could serve up something harmful instead of a delicious meal! This vulnerability could lead to an attacker executing any command on your server, potentially compromising sensitive data and disrupting your operations. If exploited, it could be absolutely devastating, allowing unauthorized access to your entire setup — not good at all!

Put simply

Think of it like giving a stranger the ability to dictate your restaurant’s menu without checking what they ordered — if they’re sneaky enough, they could serve up something harmful instead of a delicious meal! In older versions of Pimcore, the user-controlled twig template rendering in `Pimcore/Mail` and `ClassDefinition\Layout\Text` is susceptible to server-side template injection. This flaw enables attackers to inject malicious code that can be executed on the server, leading to remote code execution.

What to do

This vulnerability could lead to an attacker executing any command on your server, potentially compromising sensitive data and disrupting your operations. If exploited, it could be absolutely devastating, allowing unauthorized access to your entire setup — not good at all! Immediately update your Pimcore installation to version 10.5.9 to patch this vulnerability. If updating is not currently feasible, manually apply the patch to mitigate the risk. Don't take chances with your security! You've got this! Follow these steps to secure your setup and keep those nefarious characters 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.01823 · 78.6th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2022-10-27T00:00Z
EPSS history
Timeline
  • 27 OCT 00:00Z
    RCE vulnerability in Pimcore/Mail & Dynamic Text Layout
    cvelistv5