Mongo-Express < 0.54.0 RCE (CVE-2019-10758)

critical Nessus Plugin ID 200501

Synopsis

The remote host is affected by a remote code execution vulnerability.

Description

The web-based mongo-express MongoDB admin interface before 0.54.0 is vulnerable to Remote Code Execution via endpoints that use the `toBSON` method. A misuse of the `vm` dependency allows performing `exec` commands in a non-safe environment.

Solution

Update the mongo-express node module to version 0.54.0 or later.

See Also

http://www.nessus.org/u?317e39ff

Plugin Details

Severity: Critical

ID: 200501

File Name: mongo_express_CVE-2019-10758_dc.nbin

Version: 1.21

Type: remote

Family: Misc.

Published: 6/14/2024

Updated: 11/22/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.1

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2019-10758

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 9.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:mongo-express_project:mongo-express

Required KB Items: installed_sw/Mongo-Express WebUI

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 12/24/2019

Vulnerability Publication Date: 12/30/2019

CISA Known Exploited Vulnerability Due Dates: 6/10/2022

Reference Information

CVE: CVE-2019-10758