Skip to content

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

CriticalCVSS 9.9 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
fit2cloud jumpserver >= 2.0.0, < 2.28.20; >= 3.0.0, < 3.7.1 2.28.20, 3.7.1 Fixed
jumpserver = >= 2.0.0, < 2.28.20; = >= 3.0.0, < 3.7.1; >= 2.0.0, < 2.28.20; >= 3.0.0, < 3.7.1 2.28.20, 3.7.1 Fixed
jumpserver github.com/jumpserver/koko(Go) >= 2.0.0, < 2.28.20; >= 3.0.0, < 3.7.1 2.28.20, 3.7.1 Fixed

Affected products

ProductAffected versionsFixed in
jumpserver github.com/jumpserver/koko(Go) >= 2.0.0, < 2.28.20 2.28.20
jumpserver github.com/jumpserver/koko(Go) >= 3.0.0, < 3.7.1 3.7.1
jumpserver = >= 2.0.0, < 2.28.20 No fix listed
jumpserver = >= 3.0.0, < 3.7.1 No fix listed
jumpserver >= 2.0.0, < 2.28.20 2.28.20
jumpserver >= 3.0.0, < 3.7.1 3.7.1
fit2cloud jumpserver >= 2.0.0, < 2.28.20 2.28.20
fit2cloud jumpserver >= 3.0.0, < 3.7.1 3.7.1

References