Skip to content
Account takeover Disclosed report Beginner

Password token validation in https://wakatime.com/

The password reset system allows multiple reset tokens to remain valid simultaneously, so requesting a new token does not invalidate older ones. An attacker who obtains an earlier reset link could still use it even after a newer one is issued.

silv3rpoision Follow

Originally disclosed on HackerOne

  • Fixed in 14 hours
  • Disclosed after 24 days

Hi team,

I noticed that when requesting multiple reset links at https://wakatime.com/reset_password/ all tokens are valid and can be used.

In numerous applications the following policy is adopted as an additional security measure:

keep valid only that token with shorter lifetime (last requested) or

invalidate all reset links generated after successful use of one of these tokens Please check it.

Steps to reproduce: 1.Go to password reset page and request two times for pass reset token 2.Then go to your email and visit first pass reset link 3.Then you will realize that it is not getting expired .

Browser/OS: Chroem latest linux

Attack scenario: There is not a immediate thereat to this but it is implemented for best practice and for secure design principle.

The original report as published on HackerOne, by silv3rpoision. 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 does not invalidate previously issued password reset tokens when a new one is generated or after one is used.

Impact

There is no immediate threat, but it weakens security best practice because an old reset link remains usable.

What the attacker needed

Ability to request password reset

The fix

The report suggests keeping only the most recent token valid or invalidating all reset links after one is used.

How it was found

  1. Go to the password reset page and request a reset token twice.
  2. Open your email and visit the first reset link.
  3. Observe that the first link has not expired.

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, the site emails you a link to reset it. Asking for a new link does not make the old one stop working, so all links stay valid. The report says there is no immediate threat from this.

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 silv3rpoision

View all

5 more disclosed reports, best first.

More from WakaTime

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.