Skip to content
Account takeover Write-up Intermediate

Mail.Ru Ext.B Scope Account Takeover [ $1500 ]

The site linked OAuth accounts by email address without verifying that the email was confirmed by the provider. An attacker could create a VK account with a victim's email, log in via VK, and when prompted for an email, enter the victim's email to take over their account.

Myo Min Thu Follow

Published on web.archive.org

Bounty$1,500 View original

{{media:0}}

Myo Min Thu, on web.archive.org

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 linked OAuth identities by email address without verifying that the email was confirmed by the OAuth provider.

Impact

An attacker could take over any account that uses an email address also available on an OAuth provider that does not require email confirmation, such as VK.

What the attacker needed

Victim has an account on the site; Attacker can create a VK account with victim's email; VK does not require email confirmation

The fix

The application should verify that the email address is confirmed by the OAuth provider before linking accounts, or require additional proof of ownership.

How it was found

  1. Create a VK account using the victim's email address without confirming the email.
  2. Log in to geekbrains.ru using the VK OAuth option.
  3. When the system asks for an email address because the VK account has no confirmed email, enter the victim's email.
  4. Click confirm; the system logs you into the victim's account without further verification.

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 log in with a social account like VK, the site trusts the email that account claims. If the site doesn't check that the email was actually confirmed by VK, an attacker can make a VK account with someone else's email. Then the site links that fake account to the victim's real account, letting the attacker in.

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.

More by Myo Min Thu

View all

7 more disclosed reports, best first.

More from Mail.ru

View all

The newest disclosed reports for this program.

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.