How I Found a Critical Password Reset Bug in the BB program(and G
A registration endpoint allowed overwriting the password of any existing account without verifying if the email was already registered. An attacker could take over any parent's account by knowing their email address.
Published on s41n1k.medium.com
As a bug bounty hunter, I often test mobile apps by routing traffic through Burp Suite to see how the backend APIs behave. One of my recent hunts led me to an interesting endpoint in the BB Parents app that turned into a serious vulnerability.
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 registration endpoint lacked a check to prevent overwriting credentials for existing accounts.
Impact
Any parent's account could be hijacked with just their email address, which is critical given the app's use for student safety and parent communication.
What the attacker needed
Knowledge of victim's email address; access to the mobile app or API
The fix
The issue was fixed by the team after responsible disclosure.
How it was found
- Intercept a request from the mobile app in Burp Suite and get the endpoint.
- Fuzz the endpoint to discover the doRegistrationEntries path.
- Modify the request to use the doRegistrationEntries endpoint.
- Switch to POST method and set Content-Type to application/json.
- Replace the email field with the victim's email and set a new password.
- Send the request and observe success, then log in to the victim's account.
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 registration endpoint is meant to create new accounts, but here it also changed the password of existing accounts. Because it did not check whether the email was already in use, anyone who knew a parent's email could set a new password and log in as that parent.
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.