Skip to content
Open redirect Disclosed report Beginner

Open redirect while disconnecting authenticated account

The disconnect endpoint for linked accounts used a 'next' parameter, so a crafted link redirected the user to an external site after disconnecting an account.

gsecure Follow

Originally disclosed on HackerOne

  • Fixed in 1 hour
  • Disclosed after 42 days

Hi team, there is a open redirect end point when any account owner disconnect authenticated accounts say google. He is redirected to some other domain.

Vulnerable URL

demo.weblate.org/accounts/disconnect/google-oauth2/2335/?next=

POC

  1. Go to authentication tab.
  2. Disconnect Google account and capture the request.
  3. Now, after next= write https://evil.com.
  4. You are redirected to evil.com

video POC is attached.

Best Regards Gurwinder

Attachments

The original report as published on HackerOne, by gsecure. 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 a user to an arbitrary external site after the user disconnects a linked account.

What the attacker needed

Victim has a linked account to disconnect; request to the disconnect endpoint is crafted with an…

How it was found

  1. Go to the authentication tab.
  2. Disconnect the Google account and capture the request.
  3. Change the value after 'next=' to an external site.
  4. Observe the redirect to that 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 a flaw where a website sends a user to an address taken from the request. Here, after disconnecting a linked account, the site used the 'next' value to decide where to go, and an attacker could put another website there.

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 from Weblate

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.