Its all about 2fa bypass, or Account Takeover
The 2FA protection could be bypassed because after logging in with a password, the user was redirected to an integration page that still allowed access to profile settings, including disabling 2FA and changing email or phone number. An attacker with the victim's email and password could therefore take over the account despite 2FA being enabled.
Published on medium.com
Happy to write my Second article in medium. kindly excuse me if any Grammarly mistakes in this article,still iam learner
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 application did not enforce the second authentication step before granting access to sensitive account settings, allowing a partially authenticated session to modify security settings.
Impact
An attacker who knows the victim's email and password could bypass 2FA and take over the account by disabling 2FA or changing the email or phone number.
What the attacker needed
Victim's email and password; attacker can log in with those credentials
How it was found
- Log in to the account with email and password.
- Enable 2FA by providing a phone number and entering the received OTP.
- Log out and then use the password reset function in a second browser to change the password.
- Log in again with the new password; the site still asks for 2FA.
- Click the login button and get redirected to the integration page.
- From the integration page, access the profile and disable 2FA or change the email or phone number.
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, that should stop someone who only has your password. Here, after entering the password, the site sent the user to a page that still let them change account settings, including turning off 2FA, without ever asking for the code. So anyone who knew the password could get in and take over 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.