CVE-2023-43651 json
Remote code execution on the host system via MongoDB shell in jumpserver
published 2023-09-27 3 y ago modified 2026-09-10 1 mo ago also GHSA-4r5x-x283-wm96 , EUVD-2023-2648
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/jumpserver/koko 2.28.20, 3.7.1
- jumpserver jumpserver 2.28.20, 3.7.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
2.11% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/jumpserver/koko | >=2.0.0, <2.28.20 >=3.0.0, <3.7.1 |
2.28.20 3.7.1 |
Affected products
- jumpserver jumpserver
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/jumpserver/koko/commit/7d80db95d17c8f42bdf50260dfc21dc2bd0452c2
web
-
github.com
/jumpserver/koko/commit/857f8b9e41f0930dc6190a35d8601fffa5e884e7
web
-
github.com
/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96
web, exploit, vendor-advisory
- sonarsource.com /blog/diving-into-jumpserver-attackers-gateway-to-internal-networks-2-2
-
nvd.nist.gov
/vuln/detail/CVE-2023-43651
advisory
-
github.com
/jumpserver/koko
package
Sources
- CVE List CVE-2023-43651
- GitHub Advisory GHSA-4r5x-x283-wm96
- NVD CVE-2023-43651
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.