Open redirect while disconnecting Email
The email disconnect endpoint accepted a 'next' parameter and redirected the user to whatever URL was supplied, without checking that it stayed on the same site. An attacker could craft a link that sends a victim to an external site after they disconnect their email.
- Triaged in under an hour
- Fixed in under an hour
- Disclosed after 2 hours
Hi team, there is a open redirect end point when any account owner disconnect email accounts. He is redirected to some other domain.
Vulnerable URL
https://demo.weblate.org/accounts/disconnect/email/2354/?next=http://google.com POC
Steps: Go to authentication tab. Disconnect Email account and capture the request. Now, after next= write https://evil.com. You are redirected to evil.com
Thanks,
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 disconnect-email view used the user-supplied 'next' parameter as a redirect target without validating that it pointed to the same origin.
Impact
A victim who follows a crafted link could be sent to an attacker-controlled site after disconnecting their email, which may be used for phishing; the report does not show any further impact.
What the attacker needed
A logged-in account with an email connected; victim clicks a crafted link
How it was found
- Open the authentication tab in account settings.
- Disconnect the email account and capture the request.
- Change the value after 'next=' to an external site.
- Observe the browser being redirected 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 when a website takes a link from the address bar and sends you there without checking it belongs to the same site. Here, after you disconnect your email, the site used a 'next' value to decide where to send you, so an attacker could put their own site in that value. The victim would see the real site's address and then land on the attacker's 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.