Open Redirect

Medium

Open Redirect

Definition

Open Redirect is a vulnerability that occurs when a web application redirects users to a URL supplied through a parameter without proper validation. Attackers exploit it to send victims to phishing sites using a seemingly legitimate link from the trusted domain.

Impact

Sophisticated phishing using the legitimate domain as the initial linkOAuth token theft when chained with authentication flowsSSRF filter bypass through a redirectMalware distribution from seemingly legitimate links

Examples

Basic Open Redirect

The application accepts any URL in the redirect parameter without checking that it belongs to the same domain. The attacker leverages this to send users to a phishing site that mimics the original page.

# Legitimate login URL with a redirect parameter
https://example.com/login?redirect=/dashboard

# Malicious URL that redirects to a phishing site
https://example.com/login?redirect=https://evil.com/fake-login

# Common validation bypasses:
?redirect=//evil.com
?redirect=https://example.com.evil.com
?redirect=https://example.com@evil.com
?redirect=/\evil.com

Practice Open Redirect with real labs

Apply what you've learned in safe environments based on real bug bounty reports.

See practice labs
4,185

hunters training

68

labs from real hacks

2,125

completions

$14,790

paid out for these bugs

6 flags captured this week·Real hacks from HackerOne · YesWeHack · Bugcrowd·No commitment·Free Academy
Free · no account

The checklist I run on every new target

47 checks ordered by cost: first what can get you in trouble, then the cheap stuff, and finally the expensive stuff — which is where the big bounties are. I'll send it to your inbox right now.

Unsubscribe in one click, from any email.

BBLabs · bug bounty training

Stop reading about bugs and start hunting them

Create your free account and practice on labs based on real hacks that paid out thousands of euros. The Academy is free forever.

No card · free Academy · cancel anytime

The community

This isn't a platform with users.It's people breaking the same things you are.

Inside people ask, share what they found and solve together what would block anyone on their own. It's free to join: no account, no plan, no email required.

Join the BBLABS community on Discord
Join the Discord

Free and open. You don't need a BBLABS account to join.