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.
- 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
- Click "Use another option" on application startup view
- Enter your phone number
- Click "Forgotten number"
- Click "OK" on pop-up window
- Bruteforce 4 digits code
PoC video
Mitigation
- Limit quantity of attempts to enter recovery code
- 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.
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
- Click 'Use another option' on application startup view
- Enter your phone number
- Click 'Forgotten number'
- Click 'OK' on pop-up window
- 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.