Skip to content
Open redirect Write-up Beginner

How an Open Redirect Earned Me Points — Even as a Duplicate

An API endpoint accepted a redirect_url parameter and, after the user closed a checkout modal, sent them to any domain supplied in that parameter. An attacker could craft a link on the legitimate domain that redirects victims to a phishing site.

chaudharijugal07 Follow

Published on medium.com

In the world of bug bounty hunting, not every valid report makes it to the Hall of Fame. Sometimes, you find something awesome… only to learn that someone else got there first.

Chaudhary Jugal, 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 endpoint used the user-supplied redirect_url value without validating that it pointed to an allowed destination.

Impact

An attacker could send a link on the trusted domain that redirects victims to a phishing site after they close the checkout modal, and the text says it could be chained with other issues.

What the attacker needed

A free account; victim clicks a crafted link; victim closes the checkout modal

How it was found

  1. Authenticate with an account and call the domains checkout endpoint with a chosen redirect_url value.
  2. A legitimate checkout interface appears in a modal window.
  3. Close the modal and observe the browser being redirected to the chosen external domain.

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 web address from the link you clicked and sends you there without checking it is safe. Because the link starts on the real site, people trust it, but it can quietly send them to a fake login page. Here the redirect happened after closing a pop-up checkout window.

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.

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.