Vulnerability identifier: #VU48222
Vulnerability risk: Medium
CVSSv3.1: 8.4 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-94
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
mongo-express
Web applications /
Other software
Vendor: MongoDB, Inc.
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation in endpoints that uses the "toBSON" method. A remote authenticated attacker can send a specially crafted request and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
mongo-express: 0.2.1 - 0.53.0
External links
http://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215
http://www.checkpoint.com/defense/advisories/public/2020/cpai-2019-1638.html
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.
Is there known malware, which exploits this vulnerability?
Yes. This vulnerability is being exploited in the wild.