openDCIM - Unauthenticated SQL Injection to Remote Code Execution
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. References: https://chocapikk.com/posts/2026/opendcim-sqli-to-rce/ https://github.com/Chocapikk/opendcim-exploit https://nvd.nist.gov/vuln/detail/CVE-2026-28516 Remediation: Upgrade openDCIM to a release that sanitizes the graph command execution and restrict access to install.php once installation is complete.
domain, subdomain, ipv4