Skip to content
DoS Disclosed report Beginner

Password reset link not validated.

The password reset link was not invalidated when a new one was generated, so an older link remained usable. An attacker who obtained a previously issued reset link could still use it to change the victim's password.

born2hack Follow

Originally disclosed on HackerOne

  • Disclosed after 31 days

Hi, team . I found that password reset link sent by twitter is not validated.

Description: When a user ask for password reset link at two different times, say at 12.00 PM and at 12.03 PM. Then he is able to change his password using either of the link. Here the previous token is not expiring as soon as a new one is generated. Which means a link generated at 12.00 PM can also be use to change the password. For better securtiy previous token should get expired or should be invalidated as soon as new link is generated for that user.

POC:

  1. Ask for reset link 2 times
  2. Change the password using first link.
  3. There you go , it's possible and previous link is valid to change the password.

Fix: invalidate the previous token or link as soon as a new token or link is generated.

If any further information required please let me know.

Thanks and regards. Mohd Haji

The original report as published on HackerOne, by born2hack. 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

Impact

An attacker who obtained an older reset link could still use it to change the victim's password, potentially leading to account takeover.

What the attacker needed

Attacker has an older reset link; victim requested multiple reset links

The fix

The previous token or link should be invalidated as soon as a new token or link is generated.

How it was found

  1. Request a password reset link twice.
  2. Use the first link to change the password.
  3. Observe that the first link is still valid and the password change succeeds.

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 to set a new one. Normally, asking for a second link should make the first one stop working. Here, the first link kept working, so anyone who got hold of it could still use it to take over the account.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by born2hack

View all

5 more disclosed reports, best first.

More from X / xAI

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.