Email PII disclosure due to Insecure Password Reset field
The account re-activation endpoint disclosed the email address associated with a username, and the lack of rate limiting allowed an attacker to brute-force a list of common names to harvest many sensitive emails. The researcher also noted that a previously reported issue was not properly fixed.
Originally disclosed on HackerOne
- Triaged in 24 hours
- Fixed in 36 days
- Disclosed after 8 months
Summary by the researcher
An account re-activation field leaked user emails if you knew the correct username. Additionally the usernames seemed to correlate to predominately first or last names, I was able to brute force the end point with a list of first/last names and was able to extract a list of emails, some of which were military or university emails.
The report
Summary: I revisited report #235041 and discovered the vulnerability isn't patched properly as I was able to discover more emails I could gleam. It appears the core mechanism allows anyone who knows specific names or user names to leak sensitive emails Description: This password reset field allows an attacker to guess at user accounts such as admin and it will then expose the account user's email, this coupled with the lack of rate limiting allows me to easily bruteforce through a list of names to grab various sensitive emails. Normally password reset fields keep the account emails hidden to prevent any attempt to directly attack the user, for example phishing emails.
Impact
medium-high
Step-by-step Reproduction Instructions
First we visit, https://██████████/griduc/accounts/request_reactivation/ Then we type in Alex, and click reset. Observe the email █████ is leaked
I was able to discover few other emails as well,
Bryan =█████████
knowles = █████ bein
Product, Version, and Configuration (If applicable)
N/A
Suggested Mitigation/Remediation Actions
As per my previous report, I'd say the same solution is needed. I would recommend changing the account reset field to log any attempts for password resets to check for any malicious or abusive attempts to harvest account names, set a limit for amount of requests for the field, and additionally make a general message such as "We have sent the reset request to the email you used on registration"
My current theories either point to a possible code reversion or simply just removing the accounts i used to previously test
Impact
Attackers will be able to grab sensitive emails which can be targeted directly for phishing attacks or simple hijacked if the user in question reused their password and it has been previously leaked
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 re-activation endpoint returns the account's email address in its response instead of a generic confirmation message, and it has no rate limiting.
Impact
Attackers could harvest sensitive email addresses, which could then be targeted for phishing or account hijacking if passwords were reused, though the report does not show a full account takeover.
What the attacker needed
Knowledge of a username; no rate limiting on the endpoint
The fix
The endpoint should return a generic message instead of the email, log and limit reset attempts, and the previous fix should be re-checked.
How it was found
- Visit the account re-activation page.
- Enter a username such as Alex and submit the form.
- Observe the email address leaked in the response.
- Repeat with other usernames to collect more emails.
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.
A password reset form should never reveal whether an account exists or what email it uses. Here, typing a username into a re-activation form returned the matching email address. Because there was no limit on how many times someone could try, a person could try many common names and collect a large list of email addresses.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.