Skip to content
Account takeover Disclosed report Beginner

Email Verification Link can be Used as Password Reset Link!

The email verification link could be modified by removing a parameter to turn it into a password reset link. An attacker could use this to reset a user's password if they obtained the verification link.

karimrahal Follow

Originally disclosed on HackerOne

  • Triaged in 20 hours
  • Fixed in 13 days
  • Paid in 13 days
  • Disclosed after 26 days

Summary by the researcher

I was able to turn an email verification link into a password reset link.

Proof Of Concept: https://www.binary.com/user/validate_link?step=account&verify_token=q4b4QVyLZD9daVpAdiXAIiAExC8DaGmqFPk8wNt9nTqAm7Pa&l=EN Remove "step=account" from the URL, then enter your email. After entering your email, you will be able to reset your password.

The report

Hello again!

basically,I have found a new issue which allows attacker to use a Email Verification Link and make it into a password reset link!

Proof Of Concept: When you Send a Email Verification Link It looks like this "https://www.binary.com/user/validate_link?step=account&verify_token=q4b4QVyLZD9daVpAdiXAIiAExC8DaGmqFPk8wNt9nTqAm7Pa&l=EN"

Remove "step=account" from the URL, and tadaa! you will see once u enter the email you can change password!

Thank you, -Karim

The original report as published on HackerOne, by karimrahal. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 verification endpoint did not properly distinguish between email verification and password reset actions, allowing the same token to be used for both.

Impact

A verification link can be turned into a password reset link, allowing the password to be reset.

What the attacker needed

Attacker obtains a verification link

How it was found

  1. Send an email verification link.
  2. Remove the step=account parameter from the URL.
  3. Enter the email address to reset the password.

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, a website sends you a link to confirm your email. This report shows that by changing that link slightly, it could be used to reset your password instead. That means if someone got hold of your verification link, they might be able to change your password.

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.

More by karimrahal

View all

1 more disclosed report, best first.

More from Deriv.com

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.