Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email enumeration exploit #7301

Open
vmario89 opened this issue Jan 3, 2025 · 1 comment
Open

Email enumeration exploit #7301

vmario89 opened this issue Jan 3, 2025 · 1 comment

Comments

@vmario89
Copy link

vmario89 commented Jan 3, 2025

Hi,

we got a security warning for Seafile which i wanted to share to you.

this affects all versions of Seafile as far as i know.

Step to Produce

  • Go to password reset page /accounts/password/reset/
  • Enter unregistered email and click submit
  • Then you will get error message saying --->That e-mail address doesn't have an associated user account. Are you sure you've registered?

Impact

  • Attacker can easily find list of large amount of valid emails by using some common dictionaries avaialble on internet.
  • Leaking users emails leading to Information Disclosure. Attacker Can conduct spear phishing attacks to target users.

Fix

  • A better security practice is by simply saying that you sent a link to the e-mail no matter if they have an account already or not.

References

Code
See https://github.com/haiwen/seahub/blob/master/seahub/auth/forms.py#L89

@freeplant
Copy link
Member

This is a nice to improve feature. In the old version, we did implement such a behaviour. But we had some users, that not good at using computers, complained about why login or reset password can not work. So we have changed the behaviour to return the exact reason to help them to better use the software.

In summary, this is a tradeoff between security and usability. We don't have a plan to change the behaviour at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants