Walkthrough of PortSwigger lab on username enumeration via differing login responses
Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version
Published
What happened
The author used Burp Suite Intruder with a supplied username wordlist and a Sniper attack to find a username, because the application returned "Invalid username" for most attempts and "Incorrect password" for one. A second Sniper attack on the password field found one request returning 302 Found instead of 200 OK, indicating successful login. The fix is consistent error messages, response lengths and status codes for all authentication failures.
For IT people · Written by AI from 1 source · Report an error
- Sources
- 1
Sources and verification
Sources and editorial review
No named human review has been recorded for this story. See the source evidence below.
No vendor or government source is linked to this story yet. Read the source reports; attribution is not independent verification.
How severity and exploitation labels work · All source reports · Report an error
What to do
- Ensure login failures return identical error messages, response lengths and status codes regardless of whether the username exists.
Written by AI from the sources, checked against them
Source timeline (UTC) · 1 update
Explore this report
Ask AI about this story
Optional follow-up answers generated from our coverage. Check the linked sources before acting.
Ask your own questionWho and what is in it
Companies
Products