Exploited vulnerabilities · MongoDB
CVE-2019-10758
MongoDB mongo-express Remote Code Execution Vulnerability
mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method.
Description in the NVD
mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method. A misuse of the `vm` dependency to perform `exec` commands in a non-safe environment.
Required action according to CISA
Apply updates per vendor instructions.
What to do now
- Check your exposureFind out whether MongoDB mongo-express runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- github.com/mongo-express/mongo-express/security/advisories/GHSA-h47j-hc6x-h3qq
- github.com/mongo-express/mongo-express/pull/522
- github.com/mongo-express/mongo-express/commit/7d365141deadbd38fa961cd835ce68eab5731494
- snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215
- nvd.nist.gov/vuln/detail/CVE-2019-10758
- github.com/mongo-express/mongo-express/commit/d8c9bda46a204ecba1d35558452685cd0674e6f2
- github.com/mongo-express/mongo-express/blob/ea02b364d43f179f191fc91fb9962efdb0843a8d/lib/b
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758
- nvd.nist.gov/vuln/detail/CVE-2019-10758
More exploited vulnerabilities in MongoDB products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.