Skip to content
Open redirect Write-up Beginner

My First Bounty report which got accepted

A login page accepted a redirect parameter and sent the user to that URL after a successful login. An attacker could craft a link that takes a victim to a phishing site after they log in, which the author says could lead to account takeover.

Sanjeev1 Follow

Published on medium.com

This is just a normal bug that i found. I choose a public program on the bugcrowd.

Sanjeev Rathore, 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 login page trusted a redirect parameter from the URL and sent users to it after authentication without checking that it pointed to the same site.

Impact

A user who logs in through a crafted link could be sent to an attacker-controlled site, which the author says may lead to phishing and account takeover.

What the attacker needed

Victim clicks a crafted login link; victim logs in successfully

How it was found

  1. Browse the site and go to checkout, which redirects to the login panel with a redirect parameter in the URL.
  2. Change the redirect parameter to an external site.
  3. Log in successfully and observe the browser being sent to the external site.
  4. Confirm the request with an out-of-band interaction tool over HTTP and DNS.

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.

When you log in to a site, it sometimes sends you back to the page you came from. That return address was taken from the link itself and not checked, so someone could put any website there. A victim who logs in through such a link ends up on a fake site that can look like the real one and ask for their password again.

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 Sanjeev1

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.