Audilitics
Generic filters
Generic filters
Web Applications
AID15
WAAID1.2.4
Audit

Audit for Account Enumeration and Guessable User Account

CategoryIdentity Management Testing
Guidance

The scope of this test is to verify if it is possible to collect a set of valid usernames by interacting with the authentication mechanism of the application. This test will be useful for brute force testing, in which the tester verifies if, given a valid username, it is possible to find the corresponding password.

Often, web applications reveal when a username exists on system, either as a consequence of mis-configuration or as a design decision. For example, sometimes, when we submit wrong credentials, we receive a message that states that either the username is present on the system or the provided password is wrong. The information obtained can be used by an attacker to gain a list of users on system. This information can be used to attack the web application, for example, through a brute force or default username and password attack.

The tester should interact with the authentication mechanism of the application to understand if sending particular requests causes the application to answer in different manners. This issue exists because the information released from web application or web server when the user provide a valid username is different than when they use an invalid one.

In some cases, a message is received that reveals if the provided credentials are wrong because an invalid username or an invalid password was used. Sometimes, testers can enumerate the existing users by sending a username and an empty password.

Procedure

Testing for Valid User->Right Password
Record the server answer when you submit a valid user ID and valid password.

Testing for Valid User with Wrong Password
Now, the tester should try to insert a valid user ID and a wrong password and record the error message generated by the application.

Testing for a Nonexistent Username
Now, the tester should try to insert an invalid user ID and a wrong password and record the server answer (the tester should be confident that the username is not valid in the application). Record the error message and the server answer.

OWASP Ref. IDWSTG-IDNT-04
OWASP Ref.owasp.org

This entry has no reviews.

Pin It on Pinterest