Skip to content
Account takeover Disclosed report Beginner

Password token validation in https://demo.weblate.org/

The password reset system on the demo Weblate instance allows multiple reset tokens to remain valid simultaneously, so an attacker who obtains an older token could still use it even after a newer one is issued. The report does not demonstrate an actual attack, only the policy gap.

brdoors3 Follow

Originally disclosed on HackerOne

  • Triaged in 42 hours
  • Fixed in 42 hours
  • Disclosed after 39 days

Hi team,

I noticed that when requesting multiple reset links at https://demo.weblate.org/ 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.

The original report as published on HackerOne, by brdoors3. 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 when one is successfully used.

What the attacker needed

Attacker obtains a previously issued reset token

The fix

The report suggests invalidating older reset tokens when a new one is requested or after one is used.

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 with a secret code (a token) to reset it. Normally, if you ask for a new link, the old one should stop working. Here, all the old links keep working, which means if someone got hold of an old link, they could still use it.

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 brdoors3

View all

3 more disclosed reports, best first.

More from Weblate

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.