CVE-2023-43651: Improper Control of Generation of Code ('Code Injection')
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.
References
- github.com/advisories/GHSA-4r5x-x283-wm96
- github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96
- github.com/jumpserver/koko/commit/7d80db95d17c8f42bdf50260dfc21dc2bd0452c2
- github.com/jumpserver/koko/commit/857f8b9e41f0930dc6190a35d8601fffa5e884e7
- nvd.nist.gov/vuln/detail/CVE-2023-43651
Detect and mitigate CVE-2023-43651 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →