Skip to content
Info disclosure Disclosed report Beginner

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.

The original report as published on HackerOne, by be1ca65b1f89b948ba751aed98e2e. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open the password reset page.
  2. Enter an email address that is known to exist and submit the form.
  3. Enter an email address that is known not to exist and submit the form.
  4. 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.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.