appsec.fyi

AuthZ — A Practical Guide

A curated AppSec resource library covering XSS, SQLi, SSRF, IDOR, RCE, XXE, OSINT, and more.

AuthZ: A Practical Guide

Curated and synthesized by . Last updated 2026-08-01. Synthesized from 210 of 210 curated resources. Browse all 210 AuthZ resources →

Problem Framing

Authorization (AuthZ) is the mechanism that determines whether an authenticated entity has permission to perform a specific action or access a particular resource. While authentication establishes who a user is, authorization dictates what that user can do. In modern, complex application architectures, authorization is often the most challenging aspect of security to implement correctly and maintain effectively. Flaws in authorization logic are consistently ranked among the top application security risks, leading to severe consequences like data breaches, privilege escalation, and system compromise [1].

The increasing complexity of applications, adoption of microservices, proliferation of APIs, and the rise of cloud-native environments introduce new attack surfaces and exacerbate existing authorization challenges. Traditional perimeter-based security models are insufficient, and granular control over actions and data access is paramount. The shift from monolithic applications to distributed systems means authorization decisions are no longer centralized but spread across multiple services, increasing the potential for misconfigurations and logic flaws [2].

Furthermore, the integration of AI agents and new development paradigms introduces novel vectors for authorization bypass. These include exploiting AI models themselves, mismanaging AI agent privileges, or improperly securing the interfaces through which AI interacts with applications and data [3]. The core problem remains consistent: a failure to rigorously enforce policies that define permissible actions and data access, leading to unauthorized operations.

Core Mechanics

At its heart, authorization relies on associating an identity (user, service, agent) with a set of permissions or policies. These policies define the allowed operations on specific resources. Common authorization models include:

Regardless of the model, authorization checks typically involve:

1. Identity Retrieval: Obtaining the authenticated identity of the requestor (e.g., from a token, session, or API key). 2. Resource Identification: Determining the target resource the request is intended to affect. 3. Action Identification: Understanding the operation being requested (e.g., GET, POST, DELETE, read, write). 4. Policy Evaluation: Querying an authorization system or evaluating embedded logic to determine if the identity is permitted to perform the identified action on the identified resource, given any contextual attributes.

The challenge often lies in the implementation:

Notable Techniques and Vulnerabilities

A wide array of vulnerabilities arise from flawed authorization logic, often categorized under "Broken Access Control" [7].

Broken Object-Level Authorization (BOLA) and Insecure Direct Object References (IDOR)

These vulnerabilities occur when an application fails to verify if the authenticated user has permission to access or modify a specific object, often by directly exposing object identifiers [8][9]. An attacker can manipulate these identifiers to access data belonging to other users or objects they should not control. For example, a user requesting GET /api/v1/users/123/profile might be expected to only access their own profile. If the authorization check only verifies authentication and not ownership, a user could change the ID to GET /api/v1/users/456/profile and view another user's data. This is a prevalent issue in APIs [8][9].

A specific instance involved Vikunja, where a read-only user could delete project background images because the permission validation function was reused without checking the caller's role, leading to CVE-2026-33312 [10]. Similarly, in an airline's GraphQL API, an AI agent exploited BOLA to extract and modify mass amounts of data, demonstrating the impact of these flaws [11].

Broken Function-Level Authorization (BFLA)

This occurs when an authenticated user can access functionality or perform actions they are not authorized for, typically by bypassing UI restrictions or directly calling privileged API endpoints. For example, a standard user might access an administrative panel by guessing its URL or by directly invoking an API endpoint designated for administrators. The WordPress Simple Membership plugin exhibited this with CVE-2026-34886, allowing unauthenticated actors to execute privileged actions [12].

Privilege Escalation

This encompasses gaining higher-level permissions than initially assigned.

Authentication Bypass and Session Management Flaws

While distinct from authorization, authentication bypass directly impacts the authorization process by allowing unauthorized entities to gain a false identity. Exploiting predictable SSO tickets, such as in ManageEngine products via a millisecond timestamp (CVE-2026-11374), can lead to unauthenticated account takeover [16]. LiteLLM had a critical authentication bypass via OIDC cache collision when JWT authentication was enabled (CVE-2026-35030), and also suffered privilege escalation through a misconfigured /config/update endpoint (CVE-2026-35029) [17].

Mass Assignment

This vulnerability occurs when an application automatically binds incoming request parameters to object properties without proper validation. An attacker can include unexpected, sensitive fields in a request to modify them. For example, if a user profile update endpoint accepts name and email, but also has an isAdmin field, an attacker could send {"name": "Attacker", "isAdmin": true} to gain administrative privileges.

Active Directory and Cloud Infrastructure Exploitation

Authorization flaws are critical in Active Directory (AD) and cloud environments.

AI-Specific Authorization Risks

The integration of AI introduces new concerns:

Other Notable Techniques

Detection & Prevention

Detecting and preventing authorization flaws requires a multi-layered approach spanning development, testing, and operations.

Development Practices

Testing and Auditing

Runtime Monitoring and Incident Response

Tooling

A robust set of tools aids in the discovery, prevention, and mitigation of authorization vulnerabilities.

Discovery and Testing Tools

Active Directory and Cloud Tools

Authorization and Policy Management Tools

General Utility and Scripting

Recent Developments

The landscape of authorization vulnerabilities and solutions is continually evolving. Key recent developments include:

Where to Go Deeper

For practitioners looking to deepen their understanding and practical skills in authorization, the following resources are invaluable:

Sources cited in this guide

  1. Why Broken Access Control Dominates OWASP Top 10 in 2026 — auth0.com
  2. Fine-Grained Authorization: Technical Guide for Microservices — grabtheaxe.com
  3. ServiceNow's Virtual Agent Vulnerability Shows Why AI Security Needs Traditional AppSec Foundations — snyk.io
  4. RBAC vs ABAC vs ReBAC: How to Choose Access Control Models — dev.to
  5. Introduction to Google Zanzibar — authzed.com
  6. Relationship-Based Permissions in SpiceDB — authzed.com
  7. OWASP Top 10 #1: Broken Access Control and Security Tips — vaadata.com
  8. BOLA Vulnerability - Vulnsy — vulnsy.com
  9. BOLA: API Attack & Prevention - StackHawk — stackhawk.com
  10. CVE-2026-33312: BOLA in Vikunja — cvereports.com
  11. The Red Agent POV: Exploiting Broken Object-Level Authorization in an Airline GraphQL API — wiz.io
  12. Critical Access Control Risks in Simple Membership CVE-2026-34886 — managed-wp.com
  13. Writeup & POC: CVE-2026-49176 Windows WalletService to SYSTEM (LPE) — davidcarliez.github.io
  14. Copy Fail: Universal Linux Local Privilege Escalation Vulnerability — wiz.io
  15. Confused Deputy: Google IdP Universal Account Takeover via Device Code Flow Hijacking — infosecwriteups.com
  16. A Millisecond of Predictability: Why CVE-2026-11374 Is Hard to Exploit — bishopfox.com
  17. Security Update: Vulnerability Disclosures and Ongoing Hardening - LiteLLM — docs.litellm.ai
  18. How I Escalated to Domain Admin Using AD CS (And How to Fix It) — infosecwriteups.com
  19. Hack Smarter — City Council (Active Directory) — infosecwriteups.com
  20. IAM Vulnerable — github.com
  21. IAM Vulnerable - An AWS IAM Privilege Escalation Playground — labs.bishopfox.com
  22. Wiz launches support for Google Cloud excessive access findings based on audit logs — wiz.io
  23. Defeating Kubernetes Privilege Escalation: A Cloud Detection & Response Case Study — wiz.io
  24. Why Being in the Docker Group Is a Backdoor to Your Whole System — infosecwriteups.com
  25. CosmosEscape: Taking Over Every Database in Azure Cosmos DB — wiz.io
  26. Blinding the Watchmen: Abusing Cloud Logging Services for Defense Evasion and Visibility — unit42.paloaltonetworks.com
  27. Introducing Wiz Agents & Workflows: Security at the Speed of AI — wiz.io
  28. Forbidden You dont have permission to access / on this server Error — tecmint.com
  29. How We Hacked Thousands of Data Centers in Minutes Using a 20-Year-Old Vulnerability — lavahq.io
  30. How to use the new CloudTrail network activity events for AWS VPC Endpoints — wiz.io
  31. AWS IAM Role Chaining — medium.com
  32. RBAC vs ABAC vs PBAC - Oso — osohq.com
  33. Account Takeover Across Multiple Programs via Featurebase Integration — infosecwriteups.com
  34. Broken Access Control Testing Software for Web Apps | Penti AI — penti.ai
  35. Improvements to Burp Suite authenticated scanning — portswigger.net
  36. Dirty Frag: Linux Kernel Local Privilege Escalation via ESP and RxRPC — wiz.io
  37. Looting UniFi Controllers: Detecting and Weaponizing CVE-2026-22557 — bishopfox.com
  38. Popping Root on UniFi OS Server: Unauthenticated RCE Chain Detection & Analysis — bishopfox.com
  39. Preventing broken access control in express Node.js applications — snyk.io
  40. JWTs Under the Microscope: Exploiting Auth Weaknesses - Traceable — traceable.ai
📚 This guide is synthesized from the full text of resources curated in the AuthZ library, and refreshed as new material is added.