Skip to content
Account takeover Write-up Beginner

“The Registration Flaw That Almost Got Missed: Hunting Weak Aut

Password reset and verification links were sent over HTTP, exposing tokens to interception, and reset tokens were reusable and long-lived. An attacker who intercepted a token could take over the account.

Aman Sharma Follow

Published on infosecwriteups.com

I was about to close the tab when I noticed it. The password reset email from the fintech startup used http:// instead of https://.

Aman Sharma, on infosecwriteups.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 generated authentication links with the HTTP scheme and did not enforce single-use or short expiry for reset tokens.

Impact

An attacker who intercepts the insecure link could capture the token and hijack the account before the legitimate user verifies it.

What the attacker needed

Ability to intercept email traffic; victim clicks or receives the link

How it was found

  1. Register two test accounts, one attacker and one victim.
  2. Intercept the reset tokens sent over HTTP.
  3. Show account takeover without email access.
  4. Provide curl commands to reproduce.

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.

When you reset a password, the site emails you a special link containing a secret token. If that link uses http instead of https, anyone on the same network can read the token and use it to log in as you. The article also notes that some tokens never expire or can be reused, making the problem worse.

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 Aman Sharma

View all

34 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.