pentesting, updated
Testing for weak or unenforced username policy
Check whether usernames are predictable, sequential, or based on exposed internal identifiers.
Goal
Confirm usernames/account identifiers can’t be trivially enumerated or guessed.
How to test
Look at how usernames or account IDs are formed:
- Sequential numeric IDs (
user1001,user1002, …) that can be walked. - Usernames derived predictably from real names or emails with no variation.
- Internal IDs exposed in URLs or API responses that double as the login identifier.
What to look for
A sequential or low-entropy identifier scheme that lets you build a valid username/account list by iterating.
References
- OWASP WSTG-IDNT-05 — Testing for Weak or Unenforced Username Policy.