漏洞描述
reNgine before 2.1.2 allows OS Command Injection if an adversary has a valid session ID. The attack places shell metacharacters in an api/tools/waf_detector/?url= string. The commands are executed as root via subprocess.check_output.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/yogeshojha/rengine↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2023-50094↗github.comhttps://github.com/yogeshojha/rengine/blob/53d9f505f04861a5040195ea71f20907ff90577a/web/api/views.py#L268-L275↗github.comhttps://github.com/yogeshojha/rengine/blob/5e120bd5f9dfbd1da82a193e8c9702e483d38d22/web/api/views.py#L195↗github.comhttps://github.com/yogeshojha/rengine/commit/3d5f1724dd12cf9861443742e7d7c02ff8c75a6f↗github.comhttps://github.com/yogeshojha/rengine/commit/edd3c85ee16f93804ad38dac5602549d2d30a93e↗github.comhttps://github.com/yogeshojha/rengine/releases↗github.comhttps://github.com/yogeshojha/rengine/security↗github.comhttps://github.com/yogeshojha/rengine/security/advisories/GHSA-fx7f-f735-vgh4↗www.mattz.iohttps://www.mattz.io/posts/cve-2023-50094/↗