Frozen Fingers & Hot Bugs: How a Small Dork Turned Into Full Supp
An unauthenticated support ticket endpoint allowed stored cross-site scripting via an image tag with an onerror handler, which executed when viewed by support staff. An attacker could steal session cookies and access unauthorised endpoints.
Published on medium.com
The winter nights were brutal. I was basically turning into an ice cube while hunting yet another target.
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 ticket submission endpoint lacked authentication and failed to sanitise user input, allowing HTML injection that led to stored XSS.
Impact
An attacker could steal session cookies and access unauthorised endpoints, potentially leading to account takeover or further compromise.
What the attacker needed
No authentication required; victim views the ticket
How it was found
- Found the support ticket endpoints via JavaScript analysis.
- Accessed the endpoints without authentication and could view tickets and logs.
- Submitted a test ticket with a script tag, which was blocked.
- Submitted a ticket with an image tag containing an onerror handler, which executed.
- Used a more advanced payload to exfiltrate the cookie to an external service.
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.
A support ticket page let anyone submit a message without logging in. The message was not properly cleaned, so a script hidden in an image tag ran in the browser of whoever viewed the ticket, letting the attacker steal their login cookie.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.