Skip to content
Account takeover Write-up Beginner

Security risks often hide in features added later

The in-store order tracking feature sent OTPs to any phone number without rate limiting or CAPTCHA, and did not verify that the number had an associated order. An attacker could repeatedly request codes for arbitrary numbers, potentially enabling OTP brute force or abuse.

medium.com

Published on medium.com

A few days ago, I placed an order at a physical store. To track the status of my order, they told me I could either use their website or follow the link sent to my phone via SMS.

Nasrin, 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 later-added in-store tracking feature lacked the rate limiting, CAPTCHA, and order-number verification present in the original online tracking flow.

Impact

An attacker could send unlimited OTPs to arbitrary phone numbers, potentially enabling OTP brute force or harassment; the text does not confirm a full account takeover.

What the attacker needed

Access to the order tracking page; a phone number (any number)

How it was found

  1. Go to the order tracking section and choose the in-store purchase option.
  2. Enter a phone number and request an OTP.
  3. Observe that no CAPTCHA or other verification is required.
  4. Request the code repeatedly for the same number and note there is no rate limiting or IP blocking.
  5. Enter random phone numbers and observe that OTPs are still sent without error.

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.

A one-time password (OTP) is a short code sent to your phone to prove it is you. This website sent such codes to any phone number you typed, as often as you liked, and never checked whether that number actually had an order. That means someone could flood strangers with codes or try to guess them.

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.