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
2,482

hunters training

62

labs from real hacks

1,630

completions

$14,790

paid out for these bugs

11 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