Skip to content
Business logic Write-up Intermediate

How I Could Steal Money from Instagram, Google and Microsoft

Instagram, Google and Microsoft all placed automated verification calls to phone numbers supplied by users without checking whether those numbers were premium-rate. An attacker could register a premium number, trigger repeated calls to it, and collect the per-minute revenue paid by the company.

Arne Swinnen Follow

Published on arneswinnen.net

Bounty$2,500total stated by author View original

Instagram supports linking a mobile phone number to an account, which allows other users to look them up in Instagram’s global address book. After entering the mobile phone number, Instagram sends a text with the 6-digit token:

Arne Swinnen, on arneswinnen.net

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 phone-number validation only checked format and blocked a number after repeated failures, without checking whether the number was premium-rate or normalising variants of the same number.

Impact

An attacker could steal money at scale: roughly 17,280 GBP/year per Instagram account-number pair, 4,320 EUR/year per Google pair, and up to about 668,882 EUR per premium number at Microsoft, though Google said its monitoring would stop an attempt after a short time.

What the attacker needed

A premium-rate phone number; one or more free accounts; ability to automate requests

The fix

The services adjusted their rate limits, added monitoring and fixed the number-variation bypasses, and the reports state the issues were patched.

How it was found

  1. Enter a premium-rate number in the phone-linking or two-factor flow so the service calls it.
  2. Replay the call-triggering request, respecting the per-account rate limit.
  3. For Microsoft, vary the number with leading zeroes and country code to bypass the block after failed attempts.
  4. For Microsoft, append up to four random digits to the number to get further accepted calls.
  5. For Microsoft, fire many concurrent calls to the same premium number.
  6. Collect the premium-rate revenue from the calls received.

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.

Some services ring your phone to read out a login code. Phone companies charge the caller a fee for calling certain 'premium' numbers, and that fee goes to the number's owner. If a service will call any number you give it, you can point it at your own premium number and get paid each time it rings.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Arne Swinnen

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.