漏洞描述
openDCIM through commit 4467e9c4 (tested on v23.04) exposes install.php without a post-installation lock or authorization check. The unauthenticated LDAP configuration handler passes request values directly into a SQL UPDATE via Config::UpdateParameter() without prepared statements, allowing a stacked-query injection that overwrites the 'dot' configuration parameter (the Graphviz binary path) with an attacker-controlled command. report_network_map.php then passes that value to exec(), resulting in remote code execution as the web server user on Docker deployments that run with REMOTE_USER set to dcim.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。