Skip to content
XSS Write-up Beginner

A 5-Day Bug Bounty Hunt on a Telecom Target: From Recon to RXSS and Open Redirect

A login page reflected a parameter in a specific flow without proper handling, allowing reflected cross-site scripting. A separate parameter controlling redirection lacked validation, allowing an open redirect to an external destination.

ayanacharya193 Follow

Published on medium.com

The first thing I did was basic subdomain enumeration. I wanted to see how big the telecom’s attack surface really was.

SpiX-7, 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 user input from the 'jr' parameter into the page without proper output encoding, and used a redirect parameter without validating the destination.

Impact

An attacker could execute script in a victim's browser via the reflected XSS and could use the open redirect for phishing; the text does not describe any further impact or defences.

What the attacker needed

Victim clicks a crafted link; specific flow for XSS reflection

How it was found

  1. Enumerate subdomains and collect URLs, including old paths from the Wayback Machine and crawled parameterised URLs.
  2. Manually test login pages and redirection flows, focusing on parameters such as 'jr'.
  3. Inject a test value into the 'jr' parameter and observe that it is reflected and executed in a specific flow.
  4. Review collected URLs and parameters again to find a redirection parameter.
  5. Inject a test value into the redirection parameter and observe an external redirect.

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) lets an attacker run their own script in a victim's browser on the vulnerable site, which can steal session data or perform actions as the victim. An open redirect lets an attacker craft a link on the real site that sends users to a malicious site, useful for phishing. Both were found by manually testing parameters on login and redirect pages.

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.