hackXpert labs
All labs › Login Bypass

🔓 Login Bypass

Getting past the login without the password. Sometimes it is injection, sometimes the check simply runs in the wrong order.

6 labs and targetsfree, no accountlesson included
How broken access control actually works — taught by The XSS Rat

What it is

Authentication is who you are; authorisation is what you are allowed to touch. Broken access control is the app checking the first and forgetting the second, so an object id, a role field or a hidden admin route is all that stands between you and someone else's data.

How I attack it

  1. Make two accounts. Do everything as A, then replay A's requests with B's session and see what comes back.
  2. Change the identifier, then change the method, then change the content type. Many apps only guard the happy path.
  3. Hunt the functions nobody links to: admin routes in the JS bundle, old API versions, export and print endpoints.
  4. A 403 on the UI route means nothing if the API behind it answers. Always test the API directly.

Learn it from The XSS Rat

Free reference reading

Labs 1 5

Five rounds, each one a different reason the login gives way.

Labs 2 1

Labs 2

The second set, with the obvious routes closed.

Also here 1

Nothing matches thatClear the filter to see everything again.