Skip to content
Account takeover Write-up Beginner

Phone Number Takeover via OTP Bypass in inDrive

The inDrive app's phone number change feature accepted any four-digit OTP, including 0000, without proper validation. An attacker could change the phone number linked to any account and then log in using the new number, achieving account takeover.

medium.com

Published on medium.com

Security researcher polem4rch discovered a critical flaw in the inDrive application’s phone number change functionality. The vulnerability allowed any attacker to bypass the One-Time Password (OTP) verification and take over any user’s account by changing the phone number linked to the account.

Regan Temudo, 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

Impact

An attacker could take over any account by changing its phone number, leading to data theft and service disruption; the text does not mention any defence that limited the exploit.

What the attacker needed

Access to the inDrive app; a target account with a registered phone number

The fix

The OTP validation should be improved to reject simple or predictable codes and to add rate limiting and monitoring for brute-force attempts; the text says the vulnerability was patched.

How it was found

  1. Open the inDrive app and go to account settings.
  2. Select the option to change the registered phone number.
  3. Enter a new phone number.
  4. When prompted for the OTP, input 0000.
  5. The app accepts the input and updates the account with the new phone number.

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 change your phone number in an app, the app usually sends a secret code to your new number to prove it is yours. Here, the app accepted a very simple code (0000) for any number, so anyone could pretend to own any phone number and take over the account. This is like a lock that opens with any key.

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.