Paper/Archive/CVE-2024-40629

CVE-2024-40629

jumpserver jumpserver — Arbitrary File Write in Ansible Playbooks leads to RCE in Jumpserver

Description · from the CVE record

JumpServer is an open-source Privileged Access Management (PAM) tool that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser. An attacker can exploit the Ansible playbook to write arbitrary files, leading to remote code execution (RCE) in the Celery container. The Celery container runs as root and has database access, allowing an attacker to steal all secrets for hosts, create a new JumpServer account with admin privileges, or manipulate the database in other ways. This issue has been patched in release versions 3.10.12 and 4.0.0. It is recommended to upgrade the safe versions. There are no known workarounds for this vulnerability.

Affected

ProductAffectedFixed inSource
jumpserver>= 3.0.0, < 3.10.12–CNA
jumpserver3.0.0 – < 3.10.123.10.12CISA-ADP

Scores by source

GitHub_M (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/jumpserver/jumpserver/security/advisories/GHSA-3wgp-q8m7-v33vrefsonarsource.com/blog/diving-into-jumpserver-attackers-gateway-to-internal-networks-2-2