This module exploits a SQL injection vulnerability in openDCIM's install.php endpoint (CVE-2026-28515) to achieve remote code execution. The install.php script remains accessible after installation and processes LDAP configuration parameters via UpdateParameter() without authentication or input sanitization, allowing stacked SQL queries. The exploit chain works by injecting SQL through the LDAP configuration form to overwrite the Graphviz dot binary path in fac_Config, then triggering report_network_map.php which calls exec() with the poisoned value. A backup of the original configuration is created before exploitation and restored after payload delivery. Tested against openDCIM 23.04 through 25.01 on Ubuntu with Apache.
Exploit database
Vulnerability
CVE-2026-28517
openDCIM <= 23.04 OS Command Injection via dot Configuration Parameter
Vulnerability details
- Score
- 9.3
- Severity
- critical
CVSS 4.0 · VulnCheck
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NDescription
openDCIM version 23.04, through commit 4467e9c4, contains an OS command injection vulnerability in report_network_map.php. The application retrieves the 'dot' configuration parameter from the database and passes it directly to exec() without validation or sanitization. If an attacker can modify the fac_Config.dot value, arbitrary commands may be executed in the context of the web server process.
CVE ProgramExploit source choices
1 sourceopenDCIM install.php SQL Injection to RCE
2026-02-28opendcim_install_sqli_rce.rb