Bypass email verification when register new account
The application allowed a user to log in without verifying their email address by using the password reset flow. An attacker could register an account, reset the password, and then log in without ever clicking the verification link.
Originally disclosed on HackerOne
- Disclosed after 12 hours
Hi Legalrobot,
I have found a way to ignore Activate your account in my mailbox. Here is my new acc: [email protected] and the activate link: https://app.legalrobot-uat.com/email-verify?v=1Y5wiWwcvGcxznjlUsO-TuyEZgFpVbxMmQdfpEKrVTp
I never click on that link and i can still log in at app.legalrobot-uat.com
Here are steps to do: 1 - Register new account, you will get email to verify your email address 2 - Go to https://app.legalrobot-uat.com/sign-in, using Forgot password function 3 - Check your mailbox and you will get the link https://app.legalrobot-uat.com/password-reset/token?v=cFJ4kQuAfBFLqVmtyxuxxbNeudzpm4hZHwTDPcUNZd0 4 - After you changed new password. You can able to login your account without verified your email first
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 password reset process does not check whether the email address has been verified before allowing the user to set a new password and log in.
What the attacker needed
A free account; access to the registered email inbox
How it was found
- Register a new account and receive a verification email.
- Go to the sign-in page and use the 'Forgot password' function.
- Check your mailbox for the password reset link.
- Change the password using the reset link.
- Log in with the new password without having verified the email.
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 sign up, many websites send a link to your email to confirm it is really yours. This report shows that you could skip that step by using the 'forgot password' option, which let you set a new password and log in even though the email was never confirmed.
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.