#VU48222 Code Injection in mongo-express


Published: 2019-12-24 | Updated: 2022-02-20

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: CVE-2019-10758

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


Q & A

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.


Latest bulletins with this vulnerability