9 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:S/C:C/I:C/A:C
9.9 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
0.975 High
EPSS
Percentile
100.0%
Remote code execution on the host machine by any authenticated user.
Launching mongo-express on a Mac, pasting the following into the “create index” field will pop open the Mac calculator:
this.constructor.constructor("return process")().mainModule.require('child_process').execSync('/Applications/Calculator.app/Contents/MacOS/Calculator')
Users should upgrade to version 0.54.0
Is there a way for users to fix or remediate the vulnerability without upgrading?
If you have any questions or comments about this advisory:
@JLLeitschuh for finding and reporting this vulnerability
CPE | Name | Operator | Version |
---|---|---|---|
mongo-express | lt | 0.54.0 |
github.com/advisories/GHSA-h47j-hc6x-h3qq
github.com/mongo-express/mongo-express/commit/7d365141deadbd38fa961cd835ce68eab5731494
github.com/mongo-express/mongo-express/pull/522
github.com/mongo-express/mongo-express/security/advisories/GHSA-h47j-hc6x-h3qq
nvd.nist.gov/vuln/detail/CVE-2019-10758
snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215
9 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:S/C:C/I:C/A:C
9.9 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
0.975 High
EPSS
Percentile
100.0%