Description
openDCIM version 23.04, through commit 4467e9c4, contains a SQL injection vulnerability in Config::UpdateParameter. The install.php and container-install.php handlers pass user-supplied input directly into SQL statements using string interpolation without prepared statements or proper input sanitation. An authenticated user can execute arbitrary SQL statements against the underlying database.
Problem types
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
Any version
Credits
Valentin Lobstein (Chocapikk)
References
chocapikk.com/posts/2026/opendcim-sqli-to-rce/
github.com/Chocapikk/opendcim-exploit
github.com/opendcim/openDCIM/pull/1664
github.com/...anges/8f7ab2a710086a9c8c269560793e47c577ddda09
github.com/opendcim/openDCIM/blob/4467e9c4/install.php
github.com/opendcim/openDCIM/blob/4467e9c4/config.inc.php
www.vulncheck.com/...sql-injection-in-config-updateparameter