CVE-2024-29202CWE-94

JumpServer vulnerable to Jinja2 template injection in Ansible leads to RCE in Celery

Critical · published March 29, 2024

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

🚨 A sneaky Jinja2 template injection in JumpServer's Ansible could give attackers the keys to your kingdom! 🔥 Think of this like a restaurant where an unsuspecting chef is fooled into following a recipe that not only cooks the meal but also serves up the restaurant's secret recipe book—an absolute disaster! With this vulnerability, an attacker could execute arbitrary code within the Celery container, which runs with root privileges. This means they could not only access critical database information but also manipulate it, stealing sensitive data or worse—turning your whole operation upside down!

Put simply

Think of this like a restaurant where an unsuspecting chef is fooled into following a recipe that not only cooks the meal but also serves up the restaurant's secret recipe book—an absolute disaster! This vulnerability allows for code execution through a Jinja2 template injection, compromising the Celery container's security and granting unauthorized access to sensitive operations.

What to do

With this vulnerability, an attacker could execute arbitrary code within the Celery container, which runs with root privileges. This means they could not only access critical database information but also manipulate it, stealing sensitive data or worse—turning your whole operation upside down! To protect yourself, update JumpServer to version 3.10.7 immediately. Additionally, review your configuration to ensure that the Ansible components are securely set up and consider implementing stricter access controls for your Celery container. 🛡️ You’ve got this! Follow these steps, and your security hero status will be shining bright! ✨

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.05939 · 93.2th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-03-29T14:57Z
EPSS history
Timeline
  • 29 MAR 14:57Z
    JumpServer vulnerable to Jinja2 template injection in Ansible leads to RCE in Celery
    cvelistv5