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

Enumeration attack from the Password Reset form #350

Open
jonathan-s opened this issue Jul 11, 2021 · 1 comment
Open

Enumeration attack from the Password Reset form #350

jonathan-s opened this issue Jul 11, 2021 · 1 comment
Labels

Comments

@jonathan-s
Copy link
Contributor

Describe the bug
This isn't a very serious security issue, however the best practice when it comes to password reset forms is that you don't give the user a reason to know whether an email exist in the database or not. Right not the user receives a validation error that says that the email doesn't exist.

Expected behavior
Instead the user should get the message If the email exists it will be sent to your email address.

@jonathan-s jonathan-s added the Bug label Jul 11, 2021
@blag
Copy link
Collaborator

blag commented Jul 30, 2021

This is also true through the settings form, where an existing user could attempt to change their email address to email addresses that are already registered.

I don't see a way to enable this feature without giving the user some ability to enumerate registered emails, so it would be nice if there was a configuration option to disable the feature altogether.

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

No branches or pull requests

2 participants