Why Broken Access Control Still Leads the OWASP Top 10

Broken access control remains the most serious web application risk in the OWASP Top 10. We look at why it persists and what development teams can do about it.

By the iDefenzer Security Team

When OWASP published its 2021 Top 10, Broken Access Control moved from fifth place to first, and it has kept its position as the leading web application risk in subsequent editions. It is not a new class of vulnerability, which makes its persistence all the more instructive.

What broken access control looks like

  • Viewing or editing another user's data by changing an identifier.
  • Accessing administrative pages or API functions as a regular user.
  • Elevating privileges by modifying a role parameter, cookie or token claim.
  • Bypassing restrictions through alternative HTTP methods or unprotected API routes behind a protected UI.
  • Exploiting CORS misconfigurations that allow untrusted origins to make authenticated requests.

Why it persists

Access control is business logic. Frameworks help with authentication and with generic vulnerabilities such as injection, but they cannot know that a support agent may view a ticket but not its billing details, or that a manager can approve expenses only for their own team. Those rules live in your code, and every new feature is another opportunity to miss a check.

Modern architectures add complexity: single-page applications with many API endpoints, microservices that trust each other implicitly and mobile apps that call APIs directly. Hiding a button in the UI does not protect the endpoint behind it.

Testing insightAccess control flaws are among the issues most reliably found through manual, role-based testing and least reliably found through automated scanning alone.

What development teams can do

  • Deny by default: require explicit permission for every resource and function.
  • Centralise enforcement: implement checks once and reuse them, rather than scattering them across handlers.
  • Model permissions explicitly: maintain a clear role-and-permission matrix as a design artefact.
  • Test authorisation automatically: include negative tests that confirm unauthorised access fails.
  • Log and alert: record access-control failures and monitor for patterns that suggest probing.

A penetration test that exercises every role against every function remains one of the most effective ways to find what slipped through.

Related serviceNeed help with this? Our VAPT & Penetration Testing team can help you assess and reduce this risk. Talk to us.
Start a conversation

Your Security Posture Deserves More Than a Checklist.

Let's identify your security gaps, understand your risks and build a stronger security strategy.