Skip to content
XSS Disclosed report Beginner CVE-2022-38463

XSS DUE TO CVE-2022-38463 in https://████████

A ServiceNow host was vulnerable to CVE-2022-38463, a reflected cross-site scripting flaw in the logout functionality. An attacker could craft a URL that executes script in a victim's browser, potentially stealing cookies or redirecting the victim to an attacker-controlled domain.

shuvam321 Follow

Originally disclosed on HackerOne

  • Triaged in 2 hours
  • Fixed in 13 days
  • Disclosed after 19 days

Description: During my research, I found one of the host running ServiceNow vulnerable to CVE-2022-38463 . ServiceNow through San Diego Patch 4b and Patch 6 allows reflected XSS in the logout functionality.

Impact

Attacker is able to steal victims cookies, redirect victim to attacker controlled domain, and perform various malicious activities.

System Host(s)

███

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

1.Enter the following crafted URL in any web-browser.

https://█████████/logout_redirect.do?sysparm_url=//j%5c%5cjavascript%3aalert(document.domain)

  1. XSS will be triggered.

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by shuvam321. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the logout redirect endpoint failed to properly validate or encode the sysparm_url parameter, allowing a crafted value to break out into a JavaScript context.

Impact

An attacker could steal the victim's cookies, redirect them to an attacker-controlled domain, and perform other malicious activities in their browser.

What the attacker needed

Victim clicks a crafted link; target runs vulnerable ServiceNow version

How it was found

  1. Open a web browser.
  2. Enter the crafted URL containing the malicious sysparm_url value in the logout_redirect endpoint.
  3. The XSS payload executes and the script runs in the browser.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website runs code an attacker supplied, usually through a link. Here the logout page took a URL parameter and used it in a way that let a crafted link run JavaScript in the visitor's browser. That script could read the visitor's session cookie or send them to another site.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by shuvam321

View all

10 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.