Skip to content
Account takeover Write-up Intermediate

Authentication Bypass -MFA , Account Takeover…

The application allowed an attacker to bypass email verification and MFA by manipulating the grant_type parameter to authenticate with a password instead of the verification code, and by exposing the activation link in the API response. An attacker could create an account using any email address, join the victim's organisation team, and read chats and photos.

prakashchand72 Follow

Published on medium.com

This blog is about how I was able to takeover the account and bypass multifactor authentication using manual analysis. Take a seat belt and enjoy, this gonna be long ride.

ASTUTE, 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 server trusted a client-supplied grant_type parameter to choose the authentication method, and it returned the activation link in the API response instead of only sending it by email.

Impact

An attacker could create an account with any email address, join the victim's organisation team, and read and write all chats and photos of members.

What the attacker needed

Victim's email address known; no email access needed

How it was found

  1. Register a new account with a victim's email address.
  2. Intercept the verification request and change the grant_type parameter to use the password instead of the code.
  3. Submit the request to bypass email verification and create the account.
  4. Intercept the API call that sends the activation link and observe the link in the response.
  5. Use the activation link from the response to activate the account without email access.

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, the app normally sends a code to your email to prove you own it. The attacker found that by changing a setting in the request, the app would accept the password instead of the code, letting them skip email verification. They also saw the activation link in the server's response, so they could activate the account without accessing the email.

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.