Sensitive Email disclosure Due to Insecure Reactivate Account field
The account reactivation endpoint lacked rate limiting and revealed the email address associated with a submitted username. An attacker could enumerate usernames, including administrative accounts, to harvest email addresses for targeted phishing.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 22 months
- Disclosed after 2.5 years
Summary by the researcher
An insecure activation field allowed attackers to harvest emails of users if the attacker knew the user name of a user. This allowed me to leak the email of an administrative account and this could lead to further targeted attacks by attackers.
The report
Summary: An attacker could discover the emails of accounts on ██████ through the reset field. Description: https://████/███/accounts/request_reactivation/ This password reset field has no rate limiting, it additionally allows an attacker to guess at user accounts such as admin and it will then expose the account user's email. For example, I used admin for my example and was given this email,████████. Normally password reset fields keep the account emails hidden to prevent any attempt to directly attack the user, for example phishing emails.
Impact
Medium
Step-by-step Reproduction Instructions
- Visit https://███/██████████/accounts/request_reactivation/
- Enter admin and then submit
- You will receive the following text
Activation Email Sent
We've sent an email to██████ containing a link that will reactivate your account.
If███████ is not your email address, please contact the GRiD team and we will be happy to assist you.
Suggested Mitigation/Remediation Actions
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"
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
Impact
An attacker could harvest email addresses of users, including administrators, which could enable further targeted attacks such as phishing.
What the attacker needed
No account needed; Knowledge of a username
The fix
The reactivation endpoint should be rate-limited, log attempts, and return a generic message that does not reveal the email address.
How it was found
- Visit the account reactivation page.
- Enter a username such as 'admin' and submit the form.
- Observe the response, which includes the email address associated with that username.
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.
When you ask a website to resend an activation email, it should not tell you which email address it sent the message to. Here, the site displayed the email address linked to any username you typed in, and it let you try as many usernames as you wanted. That means someone could find out the email addresses of other users, including administrators, and use them to send convincing fake messages.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.