Skip to content
XSS Write-up Intermediate

How I found A Reflected XSS on one of the Largest Telecommunicati

A reflected cross-site scripting flaw existed in a URL parameter on a telecommunications company's site, where user input was echoed into the page without proper handling. An attacker could craft a link that runs script in a victim's browser, and the author built a fake login form to capture entered credentials.

ShellReaper Follow

Published on medium.com

Hello, I’m shellreaper again with a new story of how I found an interesting RXSS (Reflected Cross-Site Scripting )

ShellReaper, 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 application reflected the udf1 parameter into the page without encoding it, so HTML and event-handler attributes were interpreted by the browser.

Impact

The script executed only in Safari, and the WAF blocked some payloads such as reading cookies, but the author could still display a fake form that sends entered email, phone and password to an external server.

What the attacker needed

Victim uses Safari; victim clicks a crafted link; target parameter reflects input

How it was found

  1. Find a parameter that reflects user input into the page.
  2. Confirm HTML injection with a simple heading tag.
  3. Try an image tag with an error handler and observe a 403 from a WAF.
  4. Test payload parts individually to find the event handler triggers the block.
  5. Fuzz other event handlers and find ones accepted, working only in Safari.
  6. Build a payload that shows a fake login form and sends entered data to an external server.

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 something a visitor typed or put in a link and shows it back on the page as if it were part of the site's own code. If that content is script, the browser runs it, so an attacker can make a link that does things on the site as the victim. Here the site reflected a URL parameter into the page, letting the author run script and show a fake login form.

What is XSS?

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

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.