Tips

Authorization tips

Authorization bugs let a user perform actions their role should not allow, such as a viewer changing settings or a normal user reaching admin functions. The interface hides the button, but the server still accepts the request.

Published tips, newest first. Payloads and commands are shown as plain text.

Authorization: how to hunt it

Where to look

  • Admin and staff endpoints, found in JavaScript bundles and API docs, called with a low-privilege session.
  • Permission checks that differ between the web app, the mobile app and the API.
  • Requests replayed after your role was lowered or you were removed from a team.
  • Fields such as role, isAdmin or plan accepted in sign-up and profile updates (mass assignment).

What proves it

Show the lower-privileged test account making the request and the response or change that proves it worked, beside the same action refused in the interface.

Read further

Writeups on Authorization, by hunters and researchers, most with a short summary.

Related classes