Skip to content
Account takeover Write-up Intermediate

E-commerce website vulnerability bounty practice sharing: Pre-Aut

The site allowed account creation without email verification and also supported social login, so an attacker could register using a victim's email and later the victim's social login would be linked to that attacker-controlled account. The attacker could then view the victim's data and keep persistent access until the victim changed their password.

TECNO Security Follow

Published on medium.com

Hello, I am Injamam from Bangladesh, a dedicated Cyber Security Researcher, Bug Bounty Hunter, and Penetration Tester.I have started bug hunting from 2021.Bug bounty hunting has been a significant part of my career since 2021. Participating in various bug bounty programs has allowed me to collaborate with numerous…

TECNO Security, 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 did not verify email ownership at registration and did not check for an existing account when processing social login, so it merged identities without confirmation.

Impact

The attacker could view all of the victim's activity and keep persistent access to the account until the victim manually changed their password.

What the attacker needed

Site lacks email verification; site supports social login; victim's email matches social account

The fix

The site should enforce email verification that cannot be bypassed and should check whether an account already exists when processing social logins, prompting a password reset if so.

How it was found

  1. Attacker registers a new account using the victim's email address.
  2. The application logs the attacker in immediately after registration.
  3. Victim signs up using Google OAuth with the same email address.
  4. The application links the attacker's account to the victim's Google account.
  5. Attacker remains logged in and can view the victim's data.

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 sign up, most sites send a confirmation email to prove the address is yours. This site skipped that check and also let people log in with Google. An attacker could sign up first using someone else's email, and when the real owner later used Google login, the site joined both into one account, letting the attacker stay logged 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 TECNO Security

View all

2 more disclosed reports, best first.

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.