CVE-2019-10758: critical vulnerability in mongo-express
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch now. It under exploitation confirmed by CISA and has a working public exploit.
Apply updates per vendor instructions.
mongo-express versions before 0.54.0 allow attackers to execute arbitrary code on the server through unsafe use of the vm module. An attacker can send specially crafted requests to vulnerable endpoints that use the toBSON method to run commands with server privileges.
Remote Code Execution vulnerability in mongo-express <0.54.0 exploits unsafe vm.Script execution in toBSON endpoints. The vm module is used improperly to evaluate untrusted input, allowing an unauthenticated attacker to execute arbitrary system commands with the privileges of the mongo-express process.
The full analysis of this CVE is available in Portuguese →