Enumerating emails through "Forgot Password" form
The forgot password form reveals whether an email address is registered by showing a distinct error message when no account exists. An attacker could use this to enumerate valid user emails and later attempt credential brute-forcing.
Originally disclosed on HackerOne
- Disclosed after 22 hours
mongoose mongoose mongoose
Hi! I am testing typical local installation of Phabricator.
Using the forgot password form it is possible to enumerate users emails because of message There is no account associated with that email address.. So attacker theoretically can figure out registered users emails and use that information later (for example, bruteforce credentials).
I think there is no need to informate user if that account is exists or not. Or you can make option to show or not show this kind of information.
Of course, you can say that there is recaptcha on login form, but in TYPICAL installation recaptcha is disabled, and I had no setup issues messages about that fact (for example "Unresolved setup issue: Please enable recaptcha validation to decrease risk of bruteforcing users credentials. Resolve or ignore").
Be free to ask me more information.
Regards, Denis Pugachev
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 enumerate registered user emails and use that information later, for example to brute-force credentials; the report notes that reCAPTCHA is disabled in a typical installation, which may make brute-forcing easier.
What the attacker needed
Access to the forgot password form; no account needed
The fix
The form should return a generic message regardless of whether the email is registered, or offer an option to hide this information.
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 enter an email on a 'forgot password' page, the site should not tell you if that email belongs to a real account. Here, the site says 'There is no account associated with that email address' for unknown emails, so someone can try many emails and learn which ones are registered. That list can then be used to guess passwords.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.