{"id":"CVE-2023-43651","published":"2023-09-27T20:24:08Z","modified":"2025-03-25T19:35:30Z","title":"Remote code execution on the host system via MongoDB shell in jumpserver","vendor":"jumpserver","product":"jumpserver","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01993,"percentile":0.81302,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96","tags":["x_refsource_CONFIRM"]},{"url":"https://www.sonarsource.com/blog/diving-into-jumpserver-attackers-gateway-to-internal-networks-2-2","tags":["x_refsource_MISC"]}],"priority":{"score":22.3,"factors":[{"name":"EPSS percentile","points":16.26},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"jumpserver","affectedVersions":[{"vendor":"jumpserver","product":"jumpserver","versions":[">= 2.0.0, < 2.28.20",">= 3.0.0, < 3.7.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-09-23T18:52:32.591264Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/jumpserver/koko","vulnerableRanges":[">=2.0.0, <2.28.20",">=3.0.0, <3.7.1"],"patched":["2.28.20","3.7.1"],"from":["GHSA-4r5x-x283-wm96"],"provenance":"source"}],"summary":{"text":"A flaw in JumpServer, an open source bastion host, lets commands be injected through MongoDB sessions in the koko component's WEB CLI interface. An authenticated user with access to an authorized MongoDB database through that interface can execute arbitrary commands on the host, which can lead to remote code execution and potentially root privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:13Z"},"euvd":{"id":"EUVD-2023-2648","exploited":false,"provenance":"source"}}