JumpServer File Read and Upload Vulnerability (CVE-2024-40628/CVE-2024-40629) Notification

JumpServer File Read and Upload Vulnerability (CVE-2024-40628/CVE-2024-40629) Notification

July 19, 2024 | NSFOCUS

Overview

Recently, NSFOCUS CERT detected that JumpServer issued a security announcement and fixed the file reading and uploading vulnerabilities in JumpServer (CVE-2024-40628/CVE-2024-40629). Due to improper permission configuration of the Ansible module in JumpServer, an attacker with a low-privilege account can use the ansible playbook to read arbitrary files in the celery container, resulting in disclosure of sensitive information. Attackers can write arbitrary files using Ansible scripts to achieve arbitrary code execution in the Celery container. Since the Celery container runs as root and has database access, attackers can steal all information of the host, create a JumpServer account with administrator rights or manipulate the database. At present, the vulnerability PoC has been made public. Relevant users are requested to take measures for protection as soon as possible.

Reference link:

https://github.com/jumpserver/jumpserver/security/advisories/GHSA-rpf7-g4xh-84v9

https://github.com/jumpserver/jumpserver/security/advisories/GHSA-3wgp-q8m7-v33v

Scope of Impact

Affected Version

  • 3.0.0 <= JumpServer <= 3.10.11

Note: Normal user permissions are required to access at least one host and have the access rights of the activity center.

Unaffected version

  • JumpServer >= 3.10.12
  • JumpServer >= 4.0.0

Mitigation

Official upgrade

At present, this vulnerability has been fixed in a new officially released version. Please upgrade the affected version for protection as soon as possible. Download link: https://github.com/jumpserver/jumpserver/releases

Temporary measures

If relevant users cannot perform upgrade operations temporarily, they can also disable the operation center function for temporary relief: Log in to the background of JumpServer bastion host with administrator account, select “System Setting” → “Function Setting” → “Task Center” in turn, and click button to close the operating center function.

Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

About NSFOCUS

NSFOCUS, a pioneering leader in cybersecurity, is dedicated to safeguarding telecommunications, Internet service providers, hosting providers, and enterprises from sophisticated cyberattacks.

Founded in 2000, NSFOCUS operates globally with over 4000 employees at two headquarters in Beijing, China, and Santa Clara, CA, USA, and over 50 offices worldwide. It has a proven track record of protecting over 25% of the Fortune Global 500 companies, including four of the five largest banks and six of the world’s top ten telecommunications companies.

Leveraging technical prowess and innovation, NSFOCUS delivers a comprehensive suite of security solutions, including the Intelligent Security Operations Platform (ISOP) for modern SOC, DDoS Protection, Continuous Threat Exposure Management (CTEM) Service and Web Application and API Protection (WAAP). All the solutions and services are augmented by the Security Large Language Model (SecLLM), ML, patented algorithms and other cutting-edge research achievements developed by NSFOCUS.