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.
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.
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
- Enumerate subdomains and collect URLs, including old paths from the Wayback Machine and crawled parameterised URLs.
- Manually test login pages and redirection flows, focusing on parameters such as 'jr'.
- Inject a test value into the 'jr' parameter and observe that it is reflected and executed in a specific flow.
- Review collected URLs and parameters again to find a redirection parameter.
- 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.