PT-2023-7220 · Mongodb+1 · Mongodb+1
Oskar-Zeinomahmalat-Sonarsource
·
Publicado
2023-09-27
·
Atualizado
2025-03-25
·
CVE-2023-43651
CVSS v2.0
9.0
Alta
| Vetor | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
JumpServer versions prior to 2.28.20
JumpServer versions prior to 3.7.1
Description
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.
Recommendations
For JumpServer versions prior to 2.28.20, upgrade to version 2.28.20 or later.
For JumpServer versions prior to 3.7.1, upgrade to version 3.7.1 or later.
As a temporary workaround, consider restricting access to the WEB CLI interface provided by the koko component until a patch is applied.
Avoid using the
execSync function in the authorized mongoDB database to minimize the risk of exploitation.Exploit
Correção
RCE
Code Injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Jumpserver
Mongodb