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-28515
openDCIM <= 23.04 Missing Authorization in install.php
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 a missing authorization vulnerability in install.php and container-install.php. The installer and upgrade handler expose LDAP configuration functionality without enforcing application role checks. Any authenticated user can access this functionality regardless of assigned privileges. In deployments where REMOTE_USER is set without authentication enforcement, the endpoint may be accessible without credentials. This allows unauthorized modification of application configuration.
CVE ProgramExploit source choices
1 sourceopenDCIM install.php SQL Injection to RCE
2026-02-28opendcim_install_sqli_rce.rb