Skip to content
Account takeover Write-up Beginner

Account Takeover via Email Change: Exploiting Weak Verification t

The application did not verify ownership of a new email address during the email-change process, allowing an attacker to change their account's email to a privileged address such as [redacted] After refreshing, the attacker gained access to the privileged account and its balance of 400 euros.

Mohamed Usman Follow

Published on medium.com

Insecure implementation of account management features can lead to severe vulnerabilities in web applications. During a recent security assessment, I discovered a critical vulnerability in a web application that allowed me to create and access privileged accounts without proper email verification.

Mohamed Usman, 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

The email-change feature did not verify ownership of the new address or check whether it was already in use by another account.

Impact

An attacker could impersonate privileged accounts such as support or admin, access accounts holding funds, and cause financial and reputational damage.

What the attacker needed

A normal account; knowledge of a privileged email address

The fix

The issue was fixed by enforcing email verification and preventing reuse of existing emails, according to the report's resolution date.

How it was found

  1. Create a normal account with your own email address.
  2. Log in to the application.
  3. Go to the profile section, which shows a zero balance.
  4. Use the change email address feature to set the email to a privileged address such as [redacted]
  5. Refresh the page.
  6. Observe that you now have access to the support account and its privileged information, including 400 euros.

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. This application skipped that check and also allowed an email already used by another account. So an attacker could type a company's support email and, after refreshing, be logged in as that support account.

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.