HexBrain

Veris · Report #123496

User enumeration via error message

Validstatus
3upvotes
18 Mar 2016disclosed

How it was found

Hi guys,

Well, the issue is in authentication process, an attacker able to enumerate registered users on the site via brute forcing the login page, in case when user is not exist, system returns the following error message: "User not exist", in case when user exist, but incorrect password: "Password does not match".

Mitigation: handle the above situation correctly, e.g.: "Login failed. Invalid user ID or password". This doesn't inform the attacker on which credential is wrong and make enumeration more difficult

Thanks

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original