How I found (P2) Broken Authentication with Zero Skill of Hacking
The web application's new-device verification could be bypassed by choosing the phone-call option, which immediately verified the user without any actual call or code. An attacker could access the dashboard without completing email or phone verification.
Published on medium.com
This is a local bounty program in my country that I recently joined, I choose one of the programs and try to analyze it, this program runs on 2 platforms, as usual, web and mobile applications.
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 with valid credentials could bypass the new-device verification and access the account dashboard without completing email or phone verification.
What the attacker needed
Valid credentials; new browser or device; web platform access
The fix
The application was fixed by removing the phone-call option and using only email verification.
How it was found
- Access the web application from a new browser or device.
- When prompted to verify via email, choose the phone-call alternative.
- Observe that the application verifies the user and grants access to the dashboard without any call or 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 write-up has not been written yet. The Original tab links to the source.
When you log in from a new device, many apps ask you to prove it's you by sending a code to your email or calling your phone. Here, the web version offered a 'phone call' option, but instead of actually calling or checking anything, it just let the person in. This means anyone who knew a password could skip that extra security step.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.