漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
securitylab.github.comhttps://securitylab.github.com/advisories/GHSL-2020-131-mongo-express/↗github.comhttps://github.com/mongo-express/mongo-express/commit/3a26b079e7821e0e209c3ee0cc2ae15ad467b91a↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2020-24391↗github.comhttps://github.com/mongodb-js/query-parser/issues/16↗github.comhttps://github.com/ARPSyndicate/kenzer-templates↗