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.
- 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
- Go to authentication tab.
- Disconnect Google account and capture the request.
- Now, after next= write https://evil.com.
- You are redirected to evil.com
video POC is attached.
Best Regards Gurwinder
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
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
- Go to the authentication tab.
- Disconnect the Google account and capture the request.
- Change the value after 'next=' to an external site.
- 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.