Skip to content

Email address enumeration in password reset #2016

Closed
@Cave-Johnson

Description

@Cave-Johnson

Describe the bug
The password reset form allows for usernames / email addresses to be enumerated. A valid email address shows the message:
"A password reset link has been sent to email@email.com"

where as a non existent email shows the error:
"We can't find a user with that e-mail address."

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to the forgotten password page
  2. Enter a valid and invalid email address
  3. Observe responses from the application

Expected behavior
The application should respond to invalid email addresses with the same generic error response as a valid email, thereby not indicating to an attacker the validity of the value submitted preventing username enumeration

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions