Skip to content
XSS Write-up Intermediate

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.

Yousef Elsheikh Follow

Published on medium.com

The winter nights were brutal. I was basically turning into an ice cube while hunting yet another target.

Yousef Elsheikh, on medium.com

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

  1. Found the support ticket endpoints via JavaScript analysis.
  2. Accessed the endpoints without authentication and could view tickets and logs.
  3. Submitted a test ticket with a script tag, which was blocked.
  4. Submitted a ticket with an image tag containing an onerror handler, which executed.
  5. 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.

More by Yousef Elsheikh

View all

2 more disclosed reports, best first.

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.