Skip to content
Info disclosure Write-up Beginner

User's email disclosure via invalid password reset link [$250]

The password reset confirmation endpoint returned the user's email address in a JSON error response when an invalid reset key was supplied. By changing the userid parameter, an attacker could enumerate email addresses for different user IDs.

Myo Min Thu Follow

Published on web.archive.org

Bounty$250 View original

{{media:0}}

Myo Min Thu, on web.archive.org

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 confirmation endpoint included the user's email in the JSON error response without checking that the request was authorised for that user.

What the attacker needed

A valid password reset link; ability to modify request parameters

How it was found

  1. Request a password reset and receive a reset link containing userid and key parameters.
  2. Change the key parameter to an invalid random value.
  3. Observe the error response from the password reset confirm endpoint.
  4. Notice that the JSON response includes an email parameter with the user's email address.
  5. Change the userid parameter to other values and observe that the corresponding email addresses are returned.

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 sends a link with a user ID and a secret key. If the key is wrong, the site should just say the link is invalid. Here, it also included the account's email address in the error message, and changing the user ID showed other people's emails.

What is Info disclosure?

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

More by Myo Min Thu

View all

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