CVE-2024-40628CWE-22

Arbitrary File Read in Ansible Playbooks in Jumpserver

Critical · published July 18, 2024

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

🚨 An attacker can exploit a single Ansible playbook to gain access to sensitive files in the JumpServer's Celery container — that’s like giving a thief the master key to your entire database! 🔥 Think of the Celery container as a secure vault that stores not only your secrets but also the access codes to every door in your house. If someone can waltz in and peek inside without a guard, they can steal the keys to the kingdom! With root access to the Celery container, an attacker could disclose sensitive information like database secrets, create a new JumpServer admin account, or manipulate the database at will. This could lead to a total compromise of privileged access, putting your entire infrastructure at risk!

Put simply

Think of the Celery container as a secure vault that stores not only your secrets but also the access codes to every door in your house. If someone can waltz in and peek inside without a guard, they can steal the keys to the kingdom! This vulnerability allows attackers to read arbitrary files within the Celery container due to a flaw in the Ansible playbook, which runs with root privileges and has database access. Essentially, an attacker can leverage this exploit to gain sensitive information and elevate their access.

What to do

With root access to the Celery container, an attacker could disclose sensitive information like database secrets, create a new JumpServer admin account, or manipulate the database at will. This could lead to a total compromise of privileged access, putting your entire infrastructure at risk! Upgrade JumpServer to versions 3.10.12 or 4.0.0 immediately to patch this vulnerability. Ensure that all environments running this software are updated to prevent unauthorized access. Unfortunately, there are no workarounds for this issue, so timely action is crucial! You've got this! By following these steps, you can secure your JumpServer and keep those pesky intruders at bay! 🛡️

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.00861 · 58.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-07-18T17:05Z
EPSS history
Timeline
  • 18 JUL 17:05Z
    Arbitrary File Read in Ansible Playbooks in Jumpserver
    cvelistv5