Skip to content
Open redirect Write-up Intermediate

Unsafe Redirects = Unlimited Ride: How Open Redirect Led Me to In

The login page's 'next' parameter allowed redirection to any external site without validation, and also permitted redirects to internal paths that bypassed authentication. An attacker could use this to steal session cookies via phishing and then access internal dashboards, and further escalate privileges by tampering with a role header.

iski Follow

Published on infosecwriteups.com

Free Link 🎈

Iski, on infosecwriteups.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 failed to validate the 'next' parameter, allowing arbitrary external redirects and also permitting redirects to internal paths that bypassed authentication checks.

Impact

An attacker could steal session cookies via phishing and then access internal dashboards, and potentially escalate privileges to admin by tampering with a role header.

What the attacker needed

Victim clicks a link; attacker controls a domain; victim is logged in

How it was found

  1. Log in with a basic user account.
  2. Trigger the redirect to /internal/tools/logs.
  3. Access the internal dashboard.
  4. Replay the promote request with a modified role header.

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 a flaw where a website lets you specify where to go next, and it trusts you completely, so you can send users to any site, even a malicious one. Here, the login page had a 'next' parameter that wasn't checked, so attackers could craft links that look like they belong to the company but actually lead to a fake page that steals cookies. The report also shows that the same parameter could be used to reach internal pages without proper login checks.

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 iski

View all

186 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.