Skip to content
Open redirect Write-up Beginner

How I Found My First Open Redirect During Recon + TIPS!

An employee login page had a redirectTo parameter that sent users to any external URL regardless of login success. An attacker could craft a link that redirects victims to a malicious site after they visit the legitimate login page.

medium.com

Published on medium.com

Today, I want to share the story of how I found my first open redirect in a bug bounty program. Unfortunately, it didn’t result in a reward due to its low severity — but it taught me a valuable lesson: never skip steps during your testing process.

Arthur Johann Wilmsen Witt, 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 accepted an arbitrary external URL in the redirectTo parameter without validating that it pointed to a trusted destination.

Impact

The redirect could send users to an attacker-controlled site, which may aid phishing, but the report notes it was low severity and did not earn a bounty.

What the attacker needed

Victim clicks a crafted link; no account needed

How it was found

  1. Run directory discovery against the main domain and read the robots.txt file.
  2. Notice a /console directory listed at the end of robots.txt and open it.
  3. On the employee login page, submit the form with incorrect credentials and observe the redirectTo parameter in the URL.
  4. Replace the redirectTo value with an external site and submit the form again.
  5. Observe that the page redirects to the external site even though login failed.

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 parameter and sends you to whatever address is in it, even if that address is on another site. Here, the login page had a redirectTo setting, and changing it to a different website made the page forward the visitor there. This can be abused to make phishing links look like they belong to the real site.

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.