Testing for Weak or unenforced username policy (OTG-IDENT-005)

Revision as of 09:58, 14 May 2014 by Jane O'Connor (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This article is part of the new OWASP Testing Guide v4.
Back to the OWASP Testing Guide v4 ToC: https://www.owasp.org/index.php/OWASP_Testing_Guide_v4_Table_of_Contents Back to the OWASP Testing Guide Project: https://www.owasp.org/index.php/OWASP_Testing_Project


User account names are often highly structured (e.g. Joe Bloggs account name is jbloggs and Fred Nurks account name is fnurks) and valid account names can easily be guessed.

Test objectives

Determine whether a consistent account name structure renders the application vulnerable to account enumeration. Determine whether the application's error messages permit account enumeration.

How to test

  • Determine the structure of account names.
  • Evaluate the application's response to valid and invalid account names.
  • Use different responses to valid and invalid account names to enumerate valid account names.
  • Use account name dictionaries to enumerate valid account names.


Ensure the application returns consistent generic error messages in response to invalid account name, password or other user credentials entered during the log in process.