Skip to content
Open redirect Write-up Beginner

Hall of Fame on TATA Motors

A login page accepted a URL parameter that controlled where the user was sent after logging in, and the value was not validated. An attacker could craft a link that sent a victim to an arbitrary external site after authentication.

medium.com

Published on medium.com

Hello, amigos... Here is a new blog and this is on a open redirect vulnerability...

Hritom Bhattacharya, 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 used a user-supplied URL parameter as the post-login destination without validating that it pointed to a trusted domain.

Impact

An attacker could redirect a user to an arbitrary external site after login, which could be used for phishing; the text does not claim any further impact.

What the attacker needed

Victim clicks a crafted login link; victim logs in

How it was found

  1. Find the login URL that contains the presentUrl parameter.
  2. Change the parameter value to an external site.
  3. Open the modified URL in a browser and log in.
  4. Observe that the browser redirects to the external site.

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 web address from the link you clicked and sends you there without checking it. Here, the login page had a setting for where to go after signing in, and it trusted whatever address was supplied. An attacker could use this to send people to a fake page that looks like the real site.

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.

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.