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.
Published on web.archive.org
{{media:0}}
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
- Request a password reset and receive a reset link containing userid and key parameters.
- Change the key parameter to an invalid random value.
- Observe the error response from the password reset confirm endpoint.
- Notice that the JSON response includes an email parameter with the user's email address.
- 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.