Skip to content
Account takeover Disclosed report Intermediate

Account takeover using reset password link

The password reset link contained a parameter controlling the reset page path, which an attacker could change to point to a domain they control. When a victim clicked the modified link, the attacker could capture the reset token and use it to reset the victim's password and take over the account.

haoshokunoo Follow

Originally disclosed on HackerOne

Medium 4.7 View original
  • Triaged in 6 days
  • Fixed in 40 days
  • Disclosed after 5 months

Summary by the program

A vulnerability was found in the Mars website (█████████) where the reset password functionality can be manipulated. The reset password link sent via email contains a parameter that specifies the path of the reset password page. An attacker can modify this parameter to redirect users to a domain under their control when the link is clicked. This allows the attacker to obtain the password reset token and use it to reset the user's password, gaining unauthorized access to their account.

The original report as published on HackerOne, by haoshokunoo. 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 reset link trusted a user-controlled parameter for the destination path instead of using a fixed server-side route, allowing redirection to an attacker-controlled domain.

Impact

An attacker could obtain the password reset token and reset the user's password, gaining unauthorised access to their account.

What the attacker needed

Victim clicks a crafted reset link; attacker controls a domain

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 forget your password, a website emails you a special link that lets you set a new one. This report says that link had a setting an attacker could change so it sent you to a fake page instead. On that fake page the attacker could steal the secret code meant for you and then use it to change your password and get into your 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.

More by haoshokunoo

View all

1 more disclosed report, best first.

More from Mars

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.