5500$ Bug Story - Ezzy 2FA Bypass
The payment application required two-factor verification via both phone and email before allowing changes to account details such as name, email or phone number. The reporter found a way to bypass this verification flow, letting an attacker edit user details without access to the victim's phone or email.
Published on rashahacks.com
A payment application requires 2FA verification by your number and email both when editing user details including name, email or phone number. I found an easy bypass for the implemented 2FA flow through which an attacker can edit the user details without his phone/email access that finally leads to an account takeover.
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 server trusted a client-side step or did not re-check the 2FA result on the request that actually saves the profile changes.
Impact
An attacker could edit a victim's account details, such as name, email or phone number, without access to the victim's phone or email, which could lead to account takeover.
What the attacker needed
Victim has an account; attacker can reach the profile edit flow
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.
Two-factor authentication (2FA) is a second check, like a code sent to your phone, on top of your password. Here the app asked for codes to both phone and email before letting someone change account details. The researcher found a way around that check, so someone could change another person's details without having the phone or email.
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.