Skip to content
Account takeover Write-up Beginner

How I Bypassed Authentication on a Funded Fashion Site — An

The OTP verification step on a fashion site accepted a single character as a valid code, so an attacker could create and access an account without verifying the phone number. The author logged in and saw their unverified email and phone number saved in the profile.

rolextital Follow

Published on medium.com

Have you ever wondered how a small mistake in code can lead to a full account takeover?

Rolextital, 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 only checked that some OTP value was present and did not verify it against the expected code.

Impact

An attacker could bypass phone verification and access an account without a valid OTP, and the unverified contact details were saved.

What the attacker needed

A free account sign-up; ability to intercept HTTP requests

The fix

The server should verify the OTP against the expected value and reject invalid codes with a proper error.

How it was found

  1. Go to the sign-up page and enter name, dummy phone number, email and password.
  2. Intercept the POST request with Burp.
  3. Enter random values in the OTP field and observe responses.
  4. Enter just '1' as the OTP and forward the request.
  5. Turn off interception and observe that the account is logged in.

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, a site often sends a one-time code (OTP) to your phone to prove it is yours. Here, the site did not properly check that code on its server, so typing just '1' was enough to finish sign-up. That let the author get into an account without owning the phone number.

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 rolextital

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.