Skip to content
Open redirect Disclosed report Beginner

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.

atruba Follow

Originally disclosed on HackerOne

  • 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,

The original report as published on HackerOne, by atruba. 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

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

  1. Open the authentication tab in account settings.
  2. Disconnect the email account and capture the request.
  3. Change the value after 'next=' to an external site.
  4. 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.

More by atruba

View all

2 more disclosed reports, best first.

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.