Remote code execution on the host system via MongoDB shell in jumpserver
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/jumpserver/kokoGo | >= 2.0.0, < 2.28.20 | 2.28.20 |
github.com/jumpserver/kokoGo | >= 3.0.0, < 3.7.1 | 3.7.1 |
Affected products
2- Range: >= 2.0.0, < 2.28.20
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-4r5x-x283-wm96ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-43651ghsaADVISORY
- github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96ghsax_refsource_CONFIRMWEB
- github.com/jumpserver/koko/commit/7d80db95d17c8f42bdf50260dfc21dc2bd0452c2ghsaWEB
- github.com/jumpserver/koko/commit/857f8b9e41f0930dc6190a35d8601fffa5e884e7ghsaWEB
- www.sonarsource.com/blog/diving-into-jumpserver-attackers-gateway-to-internal-networks-2-2mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.