Skip to content
Account takeover Write-up Beginner

Received a $300 bounty for this Mobile OTP Verification Bypass.

The mobile application did not properly validate the OTP during registration or login, so an attacker could skip OTP verification and gain unauthorised access to an account without a valid code. The reporter bypassed the check by altering the request method from verify to login.

ch4ndan Follow

Published on ch4ndan.medium.com

I’m Ch4ndan Das First of all, thank you very much for the support on my previous articles. I am genuinely trying to share my bug hunting experiences to help others — especially beginners.

Ch4ndan das, on ch4ndan.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 decided whether to enforce OTP verification based on a client-supplied method value, so switching it to login skipped the check.

Impact

An attacker could gain unauthorised access to an account without a valid OTP, though the text does not show whether this worked for arbitrary accounts or only the attacker's own number.

What the attacker needed

A mobile number to register or log in with; ability to intercept and edit requests

How it was found

  1. Open the site's home page.
  2. Enter a mobile number and request an OTP.
  3. Enter an incorrect OTP.
  4. Capture the resulting request in an intercepting proxy.
  5. Change the method value from verify to login.
  6. Send the request and observe that OTP verification is bypassed.

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.

An OTP is a short one-time code sent to your phone to prove it is really you. Here, the app trusted a request that simply said it was logging in instead of verifying the code, so the code check was skipped. That means someone could get into an account without ever knowing the correct code.

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 ch4ndan

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.