CVE-2020-24391
Remote code execution in mongo-express
Record summary
CVE-2020-24391 has a selected CVSS score of 9.8 (critical); EIP currently links 1 Nuclei template.
Description
mongo-express before 1.0.0 offers support for certain advanced syntax but implements this in an unsafe way. NOTE: this may overlap CVE-2019-10769.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
mongodb-query-parserBrowse npm / mongodb-query-parser | GitHub Advisory | Before 2.0.0 · Fixed in 2.0.0 | affected |
Nuclei templates
1ProjectDiscoveryCRITICALMongo-Express - Remote Code ExecutionCVSS 9.8
Mongo-Express before 1.0.0 is susceptible to remote code execution because it uses safer-eval to validate user supplied javascript. Unfortunately safer-eval sandboxing capabilities are easily bypassed leading to remote code execution in the context of the node server.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
Remediation
Apply the latest security patches or updates provided by the vendor to fix this vulnerability.
Source: ProjectDiscovery