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

XSS in ServiceNow logout https://████:443

The ServiceNow logout endpoint reflected a user-supplied URL parameter without proper validation, allowing a crafted link to execute JavaScript in the victim's browser. An unauthenticated attacker could trick a user into clicking the link to run code in the context of the vulnerable site.

colemanj Follow

Originally disclosed on HackerOne

  • Disclosed after 8 months

Description: XSS in ServiceNow logout https://██████:443/logout_redirect.do?sysparm_url=//j%5c%5cjavascript%3aalert(document.domain)

References

https://nvd.nist.gov/vuln/detail/CVE-2022-38463

Impact

Unauthenticated remote attacker can execute code in user's browser context. User must click on malicious link

System Host(s)

███████

Affected Product(s) and Version(s)

Servicenow prior to SanDiego SP6

CVE Numbers

CVE-2022-38463

Steps to Reproduce

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

Suggested Mitigation/Remediation Actions

Upgrade to patched version of ServiceNow

The original report as published on HackerOne, by colemanj. 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 javascript: scheme to be injected.

What the attacker needed

Victim clicks a malicious link

The fix

Upgrade to a patched version of ServiceNow.

How it was found

  1. Click on the crafted logout_redirect.do link containing the malicious sysparm_url value.

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.

This is a cross-site scripting (XSS) bug. A web page took a value from the address bar and put it into the page without cleaning it, so a specially crafted link could make the browser run attacker-supplied JavaScript. The victim only had to click the link.

What is XSS?

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

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.