Skip to content
uencoder

Open Redirect

An open redirect is an application directly using a user-controllable URL for redirection, exploitable for phishing.

Purpose

To understand the phishing risk of controllable redirect URLs and their defenses; a common vulnerability in OAuth callbacks.

Mechanism

The program redirects to a user-specified URL via redirect(user_url); attackers craft https://app.com/redirect?url=https://evil.com for phishing. Defenses: redirect whitelists, relative paths, user confirmation.

Use cases

  • Phishing attack defense
  • OAuth callback security
  • Redirect validation

Related tools

References