Skip to content

Enumeration attack in i18n code #6

@Ichabond

Description

@Ichabond

The current code makes a distinction between invalid usernames and invalid passwords. The different error messages can be used to enumerate existing users.
Namely: LoginError::PasswordIncorrect and LoginError::UsernameNotFound. Resolution would probably just be merging these 2 into 1 eg.: LoginError::LoginFailure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions