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

Reflected XSS at https://██████/

A reflected cross-site scripting flaw existed in the logout redirect endpoint of ServiceNow, where a crafted URL parameter was reflected into a JavaScript context. An unauthenticated attacker could execute arbitrary JavaScript in a victim's browser and potentially steal cookies to take over the account.

testingforbugs Follow

Originally disclosed on HackerOne

  • Disclosed after 13 months

Description: There exists a reflected XSS within the logout functionality of ServiceNow. This enables an unauthenticated remote attacker to execute arbitrary JavaScript.

References

Impact

Steal cookies to account takeover.

System Host(s)

█████

Affected Product(s) and Version(s)

CVE Numbers

CVE-2022-38463

Steps to Reproduce

1.Go to https://████/logout_redirect.do?sysparm_url=//j%5c%5cjavascript%3aalert(document.domain) 2.You will see alert box like this. ███████

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by testingforbugs. 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 reflected a user-supplied URL parameter into a JavaScript context without proper encoding or validation.

Impact

An unauthenticated attacker could steal cookies and potentially take over a user's account.

What the attacker needed

Victim clicks a crafted link; no authentication needed

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 takes input from a URL and puts it into a page without cleaning it, so an attacker can make the page run their own JavaScript. Here the logout redirect page accepted a URL parameter and used it in a script, so a link could make the victim's browser run attacker code. That code could read the victim's session cookie and let the attacker log in as them.

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 testingforbugs

View all

6 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.