Why it matters

Administrative and privileged endpoints are often reachable just by guessing a URL or changing the HTTP method, because function-level checks are missing or inconsistent.

How to prevent it

  • Deny by default and grant each function by role in one consistent authorization module.
  • Check administrative functions against the caller’s role on the server, and review every endpoint’s method and path.
  • Test each function with lower-privilege roles and with unauthenticated callers.

Guides on this site

Practice

References

  1. API5:2023 Broken Function Level Authorization (OWASP)

List data from the publisher. A guide is listed as the main subject when the weakness or risk is what the guide is about, and as covering it when a dedicated section or worked example addresses it.