Skip to content
Account takeover Write-up Beginner

Unverified Email Change Vulnerability Leading to Account Takeover

The email change function did not verify ownership of the new email address before assigning it to the account. An attacker could bind any email address to their account, potentially leading to account takeover and abuse of the free trial system.

medium.com

Published on medium.com

A flaw was identified in the email change functionality of the application. The system fails to validate ownership of the new email address before assigning it to the user account.

Abhishek sharma, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application sends the verification link to the current email instead of the new one, and does not check ownership of the new email before updating the account.

Impact

Attackers could bind arbitrary emails to accounts, potentially leading to account takeover and identity hijacking, and could also farm unlimited free trials while causing legitimate users to lose their entitlements.

What the attacker needed

A free account; attacker knows victim's email

The fix

The platform should verify ownership of the new email address before associating it with the account, for example by sending the confirmation link to the new email.

How it was found

  1. Create and verify an account with the attacker's email address.
  2. Log in to that account.
  3. In the Change Email function, enter the victim's email address as the new email and confirm with the attacker's password.
  4. The application sends the verification email to the attacker's current email, not the new one.
  5. The attacker clicks the verification link received at their own email, and the system updates the account email to the victim's address without verifying ownership.

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 write-up has not been written yet. The Original tab links to the source.

When you change your email address on a website, the site should send a confirmation link to the new address to prove you own it. Here, the site sent the confirmation to the old address instead, so someone could claim any email address without proving they own it. This could let an attacker take over accounts or get extra free trials.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.