Vulnerability · Published Sep 27, 2023 · Assigned by GitHub_M

CVE-2023-43651Remote code execution on the host system via MongoDB shell in jumpserver

High 8.6

In plain English

A high-severity code injection in jumpserver from jumpserver. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)2.1%top 18.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

JumpServer is an open source bastion host. An authenticated user can exploit a vulnerability in MongoDB sessions to execute arbitrary commands, leading to remote code execution. This vulnerability may further be leveraged to gain root privileges on the system. Through the WEB CLI interface provided by the koko component, a user logs into the authorized mongoDB database and exploits the MongoDB session to execute arbitrary commands. This vulnerability has been addressed in versions 2.28.20 and 3.7.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/jumpserver/koko2.28.20GHSA-4r5x-x283-wm96
Gogithub.com/jumpserver/koko3.7.1GHSA-4r5x-x283-wm96

Affected products (as reported)

VendorProductVersions
jumpserver jumpserver >= 2.0.0, < 2.28.20>= 3.0.0, < 3.7.1

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

References