Skip to main content
← All vulnerabilities
CVE-2023-43651GHSA-4R5X-X283-WM96

Remote code execution on the host system via MongoDB shell in jumpserver

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.28.20, 3.7.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • jumpserver jumpserver

    From 2.0.0 · fixed in 2.28.20; From 3.0.0 · fixed in 3.7.1

  • github.com/jumpserver/kokoGo

    From 2.0.0 · fixed in 2.28.20

  • github.com/jumpserver/kokoGo

    From 3.0.0 · fixed in 3.7.1

References 2

GitHub · jumpserver/jumpserver

sonarsource.com