Skip to content
Account takeover Disclosed report Beginner

Password Reset Links Not Expiring

Password reset links issued by Phabricator did not expire when a newer reset link was requested, so multiple reset links remained valid at the same time. An attacker who obtained an old, unused reset link could still use it to reset the account password even after the user had requested a fresh link.

andi_r Follow

Originally disclosed on HackerOne

  • Disclosed after 30 days

Old unused Password reset tokens are not expiring on phabricator after the issuance of a new reset link. Explaination Suppose at 09:00 o'clock I used password forgot password option and got a reset link on my email. Lets call it reset_1. But i didnot use it. And at 09:04 o'clock I used again the forgot password option and got a new reset_link,which is reset_2. Now generally after the issuance of reset_2,the previous unused reset link should expire.But in case of phabricator its not happening.Both the reset links are remaining usable at the same time.

The original report as published on HackerOne, by andi_r. 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 application did not invalidate previously issued password reset tokens when a new reset token was generated for the same account.

Impact

An old unused reset link remains usable after a new link is requested, so anyone holding it could still reset the password.

What the attacker needed

Attacker has an old unused reset link; victim requests a new reset link

The fix

Previously issued reset tokens should expire when a new reset link is generated.

How it was found

  1. Request a password reset link for the account and receive the first link by email.
  2. Do not use the first link.
  3. Request a second password reset link a few minutes later.
  4. Observe that both the first and the second reset links remain usable at the same time.

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. Normally, asking for a second link should make the first one stop working, so an old link cannot be reused. Here, the first link kept working alongside the second, which means anyone who still had the old link could use it later.

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 from Phabricator

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.