Vulnerability · Published Sep 27, 2023 · Assigned by GitHub_M
CVE-2023-43651Remote code execution on the host system via MongoDB shell in jumpserver
High 8.6
In plain English
A high-severity code injection in jumpserver from jumpserver. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/jumpserver/koko | 2.28.20 | GHSA-4r5x-x283-wm96 |
| Go | github.com/jumpserver/koko | 3.7.1 | GHSA-4r5x-x283-wm96 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jumpserver | jumpserver | >= 2.0.0, < 2.28.20>= 3.0.0, < 3.7.1 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H