RULE(RULE ID:338278)

Rule General Information
Release Date: 2024-07-30
Rule Name: JumpServer Remote Code Execution Vulnerability (CVE-2024-40629)
Severity:
CVE ID:
Rule Protection Details
Description: 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.
Impact: An attacker can execute arbitrary code via a successful exploit in the context of the vulnerable software.
Affected OS: Windows, Linux, Others
Reference: https://github.com/jumpserver/jumpserver/security/advisories/GHSA-3wgp-q8m7-v33v
Solutions
Refer to the announcement or patch by the vendor: https://github.com/jumpserver/jumpserver/security/advisories/GHSA-3wgp-q8m7-v33v