Skip to content
Open redirect Write-up Beginner

The Open Redirect That Could Turn a Trusted URL Into a Weapon 

An OIDC authentication endpoint accepted an arbitrary URL in the auth_url parameter and redirected users to it without validation. An attacker could craft a link starting with the trusted company domain that sent victims to a phishing or malware site.

Anshubind Follow

Published on medium.com

But sometimes, the simplest vulnerabilities open the biggest doors. Especially when they sit inside a real authentication flow.

Anshubind, 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 passed the auth_url parameter directly into a redirect response without validating it against an allowlist or restricting it to relative paths.

Impact

Attackers could use the trusted domain in links to phish credentials, distribute malware, or abuse the site's reputation, though the report does not show an actual attack beyond the redirect.

What the attacker needed

Victim clicks a crafted link

The fix

The report recommends a strict allowlist, relative paths, token-based redirects, a warning page, and security headers; it does not state that a fix was deployed.

How it was found

  1. Find the /oidcAuth endpoint and its auth_url parameter.
  2. Send a request with auth_url set to an external site.
  3. Observe a 302 redirect to that external site.
  4. Confirm with a second external URL.

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 that address without checking it. Here, the login-related page would forward anyone to any site the attacker chose, so a link that looks like the real company could lead to a fake login page.

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.

More by Anshubind

View all

15 more disclosed reports, best first.

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.