SSO Gadgets II: Unauthenticated Client-Side Template Injection to Account Takeover using SSO Gadget Chain
A client-side template injection on an error page led to XSS; chained with an SSO gadget, an attacker could gain access to the user's account.
Published on security.lauritz-holtmann.de
The following unauthenticated Client-Side Template Injection (CSTI) resulting in a Cross-Site Scripting (XSS) vulnerability was discovered in a private bug bounty program. While the vulnerability could only be exploited in case a user had no active session at the application, chained with an SSO gadget, a malicious…
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
What the attacker needed
Victim has no active session at the application
How it was found
- Craft a URL containing a client-side template injection payload.
- Victim visits the URL, causing JavaScript execution in the application context.
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.
The error page evaluated user input as a template, so an attacker could run code in the victim's browser and, chained with an SSO gadget, gain access to the account.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.