Skip to content
Open redirect Write-up Beginner

How I found Open redirect on Bug crowd public program in 2 day

An old, forgotten script on a legacy endpoint accepted a parameter that controlled where the browser was sent, allowing an attacker to redirect users to an arbitrary external site. The author found it by enumerating endpoints with a browser extension and then testing the parameter value.

Ittipatjitrada Follow

Published on medium.com

First of all, I chose to make this program because it has a new update so I want to do it. On that first day, I didn’t find anything like many programs I’ve done.

Ittipatjitrada, 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 a legacy script accepted a user-supplied destination parameter and redirected to it without validating that the target was on an allowed domain.

Impact

An attacker could craft a link on the trusted domain that sends victims to an attacker-controlled site, which could be used for phishing; the text does not show any further impact.

What the attacker needed

Attacker can send a crafted link; victim clicks the link

How it was found

  1. Enumerate endpoints on the target, including with a browser extension that extracts links from JavaScript files
  2. Notice a legacy endpoint alongside the main one
  3. Open the legacy page and review old scripts left on it
  4. Find a script that performs a redirect based on a parameter
  5. Change the parameter value to an external domain and confirm the 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.

An open redirect is when a website takes a link and sends the visitor on to another site without checking that the destination is trusted. Here an old script left on the server did this, so a crafted link on the real site could bounce people to a site the attacker controls, which is useful for phishing because the first link looks legitimate.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More by Ittipatjitrada

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.