Skip to content
Open redirect Disclosed report Beginner

Unvalidated redirect on user profile website

The redirect endpoint on the user profile website did not properly validate the target URL, allowing an attacker to craft a link that redirects any user to an arbitrary external site. The token parameter was checked but could be reused across users.

roshanpty Follow

Originally disclosed on HackerOne

  • Disclosed after 11 months

The user profile redirect request is not properly validated. The presence of parameter t which is being passed through the request is verified but same value can be reused to any unauthenticated or authenticated user to redirect them to any web site.

Sample link is given below.

https://www.zomato.com/redirect?u=http%3A%2F%2Ftest.com&t=38dc43d5f007f4c5d974f6c74f065158&g=user-profile-website

The original report as published on HackerOne, by roshanpty. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

An attacker could redirect authenticated or unauthenticated users to any website.

What the attacker needed

Victim clicks a crafted link

The fix

The redirect endpoint should validate the target URL and prevent reuse of the token value.

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.

A redirect link is meant to send you to a specific page after you click it. Here, the site trusted a value in the link without checking it properly, so an attacker could make the link send you to a fake site instead. This is dangerous because the link looks like it belongs to 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.

More by roshanpty

View all

7 more disclosed reports, best first.

More from Eternal

View all

The newest disclosed reports for this program.

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.