openDCIM
CVE-2026-28516
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach openDCIM install/config endpoint
-
DeliverySend crafted ldapaction=Set request
-
ExploitInject SQL via unsanitized parameter
-
ExecutionExecute arbitrary SQL against fac_Config database
-
PersistChain to RCE via network_map exec flaw
-
ImpactFull database and server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires reaching the install.php or container-install.php handlers and triggering the ldapaction=Set code path that calls Config::UpdateParameter with attacker-controlled input on openDCIM 23.04. The key limiting factor is that the vendor patch adds a $person->SiteAdmin check to exactly this path, implying that in a fully patched deployment SiteAdmin privileges would be needed - but in the vulnerable 23.04 build that check is absent, so the handler is under-protected. The description states an authenticated user is needed, whereas the CVSS 4.0 vector encodes PR:N (unauthenticated); this contradiction is unresolved in the available data and must be confirmed with the vendor. No user interaction, non-default configuration, or specific client platform is required beyond network reachability of the installer/config endpoints, which ideally should be removed post-setup. |
| Impact | Signals conflict, so prioritization should be nuanced. CVSS 4.0 base 9.3 with AV:N/AC:L/PR:N/UI:N and high VC/VI/VA implies trivial remote unauthenticated compromise, and a public PoC plus a documented SQLi-to-RCE path raise concern. However, the description says an authenticated user is required, contradicting PR:N - and the patch adding a SiteAdmin check on the install handlers suggests the realistic precondition is reaching an under-protected install/config endpoint rather than fully anonymous access; this discrepancy should be verified with the vendor/NVD. Counterbalancing the high CVSS, EPSS is 0.04% (12th percentile) and the CVE is NOT in CISA KEV, indicating no observed mass exploitation - expected for a niche DCIM product with a small internet-facing footprint. Net: treat as a genuine high-severity issue for anyone running openDCIM 23.04 (patch promptly, especially if the web UI is network-reachable), but it is not a broad emergency on the scale of a KEV-listed, ubiquitous-product flaw. |
| Exploit ScenarioDerived | An attacker who can reach openDCIM's install/config handlers submits a crafted ldapaction=Set request whose parameter value contains SQL, which Config::UpdateParameter interpolates directly into an UPDATE against fac_Config, giving arbitrary SQL execution against the backing database. Using the publicly available Chocapikk exploit, the attacker escalates the injection into remote code execution (leveraging the pre-patch report_network_map.php exec() flaw), yielding server compromise. Given AV:N/AC:L, the request is a straightforward HTTP interaction requiring no special timing or user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 14, 2026
SQL injection in openDCIM 23.04 (up to commit 4467e9c4) lets attackers execute arbitrary SQL through the Config::UpdateParameter routine, which the install.php and container-install.php handlers reach with unsanitized, string-interpolated input. Publicly available exploit code exists (Chocapikk PoC and write-up) demonstrating a chain from SQLi to remote code execution, though it is not listed in CISA KEV and EPSS rates real-world exploitation probability at only 0.04%. Note a data conflict: the CVSS 4.0 vector encodes PR:N (unauthenticated) while the description states an authenticated user is required.
Earlier versions of this analysis (1)
openDCIM version 23.04, through commit 4467e9c4, contains a SQL injection vulnerability in Config::UpdateParameter. [CVSS 8.8 HIGH]
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the changes from https://github.com/opendcim/openDCIM/pull/1664, which converts Config::UpdateParameter to a PDO prepared statement (:value/:parameter placeholders) and adds a $person->SiteAdmin authorization check to the ldapaction=Set path in install.php and container-install.php. If you cannot deploy the patch immediately, remove or restrict access to install.php and container-install.php after initial setup (these installer scripts should not remain reachable in production; deleting or web-server-denying them closes the injection entrypoint at the cost of blocking future re-install or config-import operations), and place the openDCIM UI behind authenticated VPN/IP allow-listing to limit who can reach the endpoints. Also pick up the report_network_map.php hardening (escapeshellarg on exec arguments and dot-binary validation) from the same PR to break the documented SQLi-to-RCE chain. See the exploit write-up at https://chocapikk.com/posts/2026/opendcim-sqli-to-rce/ and PoC at https://github.com/Chocapikk/opendcim-exploit to validate mitigations.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
openDCIM is an open-source, PHP/MySQL data center infrastructure management (DCIM) web application for tracking cabinets, devices, power and cabling. The root cause is CWE-89 (SQL Injection): in config.inc.php, Config::UpdateParameter built the query as UPDATE fac_Config SET Value="$value" WHERE Parameter="$parameter" using direct PHP string interpolation of user-supplied values, with no prepared statements. The vendor fix (PR #1664) rewrites the query to a PDO prepared statement with :value/:parameter placeholders, and additionally adds a $person->SiteAdmin authorization gate to the ldapaction=Set path in both install.php and container-install.php, indicating those handlers previously lacked an admin check. The same PR also hardens report_network_map.php by wrapping exec() arguments in escapeshellarg() and validating the dot binary - consistent with the published SQLi-to-RCE chain. CPE confirms the single affected build: cpe:2.3:a:opendcim:opendcim:23.04.
Know when Opendcim gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable, low-complexity SQLi; description requires an authenticated user so PR:L (not PR:N), with full C/I/A impact via arbitrary SQL and the documented RCE chain.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
6DescriptionCVE.org
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.
Executive ViewAI
openDCIM 23.04 contains a critical SQL injection vulnerability in installation handlers that permits unauthenticated access to execute arbitrary SQL and potentially achieve remote code execution; publicly available exploit code exists. Organizations running this data center infrastructure management system face immediate risk to datacenter configuration and system integrity. Immediate assessment and patching are required.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
Remote code execution in openDCIM 23.04 allows unauthenticated attackers to execute arbitrary OS commands as the web ser
Missing authorization in openDCIM 23.04 (through commit 4467e9c4) lets any authenticated user — regardless of assigned r
NVD
CVE.org
EPSS
GitHub
Exploit-DB