Skip to content
Info disclosure Write-up Beginner

I Sent One Email to “Forgot Password” and the Server Doxxed t

The password reset endpoint returned the full user record, including name, phone number, date of birth, customer ID and internal flags, in response to a submitted email address. An attacker could submit any email address and obtain that user's personal and account details.

Pankaj Kumar Yadav Follow

Published on medium.com

It was a Tuesday. I was hunting on a bug bounty program — let’s call the target redacted-target.com because they’re fixing it as we speak.

Pankaj Kumar Yadav, on medium.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 password reset API returned the full user record object instead of a generic confirmation message.

Impact

An attacker could obtain personal and account details for any user whose email address they knew, though the text does not claim that any data was actually misused.

What the attacker needed

Knowledge of a victim's email address; no authentication required

The fix

The password reset endpoint should return only a generic confirmation message and no user data.

How it was found

  1. Open the target's login page and click the 'Forgot your password?' link.
  2. Enter a test email address and submit the form.
  3. Inspect the server's response in the browser's network tab or an intercepting proxy.

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 click 'Forgot password' on a website, the server should only say that a reset message has been sent. Here, the server also sent back a large amount of private information about the account, such as the person's name, phone number and birthday. Anyone who knew or guessed an email address could see that information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Pankaj Kumar Yadav

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.