Skip to content
Account takeover Write-up Intermediate

How I Gained Account Access: Exploring the Risks of Password Reset Links in Cybersecurity

The author tested several password reset attacks on a website, including host header poisoning and referrer leakage, but none worked. The text does not demonstrate a successful account takeover.

kd-200 Follow

Published on kd-200.medium.com

So today we are going to talk about another bug that we found on the same website which we talked about in the last blog. If you haven’t read the blog Click Here.

Nitin yadav, on kd-200.medium.com

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 validate the Host header or prevent token leakage via the Referer header, but the text does not confirm a successful exploitation.

Impact

If the attacks had worked, an attacker could obtain a victim's password reset token and take over their account, but the author reports that neither technique succeeded on the tested site.

What the attacker needed

Victim clicks a link; attacker controls a domain

How it was found

  1. Request a password reset and intercept the request.
  2. Modify the Host header to a controlled domain.
  3. Check if the reset link uses the modified host header.
  4. Request a password reset to your own email and click the link.
  5. Intercept the request and check if the Referer header leaks the reset token.

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.

A password reset link is a special web address sent by email that lets someone set a new password. If an attacker can trick the website into putting the attacker's own web address into that link, the victim might send the secret reset code to the attacker instead. This write-up describes attempts to do that, but the author says the attempts failed on the target site.

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 kd-200

View all

4 more disclosed reports, best first.

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.