Reflected Chaos: How One XSS Vector Spawned Three CVEs
A reflected cross-site scripting flaw existed in the client_id parameter of a WebEx sign-in page, where URL-encoded script tags were reflected without proper encoding. An attacker could craft a link that executes arbitrary JavaScript in a victim's browser.
Published on medium.com
A routine bug bounty checks. A familiar endpoint.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application reflected the client_id parameter into an HTML attribute without proper output encoding, allowing a crafted value to break out of the attribute and inject script.
Impact
An attacker could execute arbitrary JavaScript in a victim's browser when the victim visits a crafted link, potentially leading to session theft or other client-side attacks.
What the attacker needed
Victim clicks a crafted link; attacker can craft a URL with encoded payload
The fix
The vendor fixed the issue, as confirmed by the PSIRT email and the Cisco advisory.
How it was found
- Sign in with a registered email and get redirected to the vulnerable page.
- Capture the request in Burp and send it to Repeater.
- Append a test string to every GET parameter to find which one is reflected.
- Identify the client_id parameter as the one reflected in the response.
- URL-encode a script payload and place it in client_id; it reflects but does not execute because it stays inside the parameter value.
- Add a closing sequence before the payload to break out of the attribute, then load the crafted URL to trigger the XSS.
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 write-up has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website takes input from a user and puts it into a page without cleaning it, so an attacker can make the site run their own JavaScript. Here, a parameter called client_id was echoed back into the page, and by encoding a script tag the author got it to run. This lets an attacker do things like steal session cookies or act as the victim.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.