Skip to content
Account takeover Disclosed report Beginner

Bruteforce password recovery code

The iOS app allowed unlimited attempts to enter the SMS recovery code, so an attacker could brute-force the 4-digit code and take over an account. The reporter tried over 50 combinations and succeeded.

0x3c3e Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 28 days
  • Paid in 28 days
  • Disclosed after 58 days

Summary

It's possible to bruteforce recovery code from SMS as iOS application doesn't have limits for incorrect inputs. I have tried 50+ different combinations until I reached code from SMS.

Steps To Reproduce

  1. Click "Use another option" on application startup view
  2. Enter your phone number
  3. Click "Forgotten number"
  4. Click "OK" on pop-up window
  5. Bruteforce 4 digits code

PoC video

https://youtu.be/QV80pD0wZsE

Mitigation

  1. Limit quantity of attempts to enter recovery code
  2. Don't store recovery code on target device to compare it with user's input

Details

Devices: Iphone SE (13.2), Iphone 6s (12.4) App: Bumble (5.140.0)

Impact

Account takeover.

The original report as published on HackerOne, by 0x3c3e. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the app did not limit the number of incorrect recovery code attempts and stored the code on the device for comparison.

Impact

An attacker could take over an account by guessing the recovery code.

What the attacker needed

IOS app installed; victim's phone number known

The fix

The app should limit the number of recovery code attempts and not store the code on the device for comparison.

How it was found

  1. Click 'Use another option' on application startup view
  2. Enter your phone number
  3. Click 'Forgotten number'
  4. Click 'OK' on pop-up window
  5. Bruteforce 4 digits code

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 report has not been written yet. The Original tab links to the source.

When you forget your password, many apps send a short code by text message. This app let someone keep guessing that code without any limit, so a person could try many numbers until they found the right one and then get into the account.

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 0x3c3e

View all

2 more disclosed reports, best first.

More from Bumble

View all

The newest disclosed reports for this program.

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.