Open Redirect On Your Login Panel
The login page accepted a redirect_url parameter and sent users to that external site after they logged in. An attacker could craft a login link that redirects victims to a malicious website.
Originally disclosed on HackerOne
- Disclosed after 47 days
Summery Hey There are a open Redirect on your login panel
Platform(s) Affected: Website
Browsers Verified In [If Applicable]:
- Chrome For Android
- Firefox For Android
Steps To Reproduce:
- Go To This Url :- https://www.zomato.com/login?redirect_url=https://askdcodes.org
- Then login there
- boom you got Redirected to askdcodes.org
Supporting Materials
Attaching A Video Poc
Impact
Any Attacker can Redirect your users to malicious website
Attachments
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the login flow trusted the redirect_url parameter without checking that it pointed to an allowed internal destination.
Impact
An attacker could redirect users to a malicious website after they log in.
What the attacker needed
Victim clicks a crafted login link; victim logs in
How it was found
- Open the login URL with the redirect_url parameter set to an external site.
- Log in on that page.
- Observe the browser being redirected 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 report 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 whatever address it contains, even if that address is on another site. Here, after logging in, the site followed the redirect_url value to an outside domain. Attackers can use this to make a trusted login link lead to a fake or harmful 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.