The password recovery let users know whether an email address exists or not in the website
The password recovery form on the Nextcloud apps site revealed whether a submitted email address was registered, because it told the user when an email did not exist. An attacker could use this to enumerate valid accounts and then attempt to guess their passwords.
be1ca65b1f89b948ba751aed98e2e Follow
Originally disclosed on HackerOne
- Triaged in 33 hours
- Fixed in 3 months
- Disclosed after 3 months
URL: https://apps.nextcloud.com/password/reset/
I have tried to recover the password for some emails:
[email protected] (exists) [email protected] (does not exists)
After I clicked the "reset my password"'s button, the website informed that the email did not exist.
Impact
This is a bad practice, and it is an invitation to brute force emails that possibly exist in the domain @nextcloud.com.
By using a wordlist of common passwords, it is possible to guess a combination of email/password of an administrator account.
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 password reset endpoint returns a different response for registered and unregistered email addresses instead of a generic message.
Impact
An attacker could confirm which email addresses have accounts, which the reporter says invites brute-forcing passwords for accounts in the nextcloud.com domain.
What the attacker needed
None
The fix
The form should show a generic message regardless of whether the email is registered.
How it was found
- Open the password reset page.
- Enter an email address that is known to exist and submit the form.
- Enter an email address that is known not to exist and submit the form.
- Observe that the site says the second email does not exist.
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 forget a password, a website often lets you enter your email to get a reset link. A safe site should give the same message whether or not that email is registered, so nobody can check which emails have accounts. Here, the site said the email did not exist, which tells an attacker which addresses are real.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.