Function Level Authorization
Broken Function Level Authorization (BFLA, OWASP API5) is the vertical twin of BOLA: the server checks who you are but not whether your role may invoke this operation, so a low-privileged or anonymous caller reaches admin, internal or deprecated functions directly.
How it works
BOLA asks “may you touch this object?”; BFLA asks “may you call this function at all?”. It appears wherever the enforcement point doesn’t cover every handler:
- Route-by-route checks: a decorator, annotation or AOP pointcut protects most handlers, and the one it misses is the bug. CBoard’s
AdminController/DashboardControllermethods sat outside the AOP role checks. SGLang’sPOST /load_lora_adapter_from_tensorslacked the@auth_level(AuthLevel.ADMIN_OPTIONAL)annotation its siblings had. - UI as the access control: the admin URL isn’t linked for users, but the handler doesn’t re-check the role (PortSwigger labs:
/administrator-panelinrobots.txt; an unpredictable admin URL disclosed in JS shipped to every user). - Forgotten surface: deprecated API versions, AJAX helpers, sidecar services and reporting endpoints written after the main authz layer, or outside it.
- Middleware-only enforcement: if the only check lives in an edge/middleware layer, anything that skips that layer skips authz (Next.js CVE-2025-29927; see Header-Based Access Control Bypass).
- Action-specific gaps inside an admin: one bulk action skips the per-object permission that its sibling actions enforce.
Techniques / payloads
- Harvest functions you can’t see: JS bundles,
robots.txt, OpenAPI/Swagger, GraphQL introspection, mobile apps, old API versions (/v1/next to/v2/). - Replay admin traffic with a low-priv token: capture as admin, swap
Authorization/cookie for a user session and then for none. Diff status and body. Tooling: Authorization Testing Automation. - Guess sibling verbs: if
GET /api/users/{id}exists, tryDELETE,PUT /api/users/{id}/role,POST /api/admin/users. - Method and path tricks against platform-level rules:
GETinstead ofPOST, case changes, suffixes, trailing slash. - Hit the deprecated path: version-pinned or legacy endpoints often predate the current authz model (Fleet).
- Check read-only roles against action endpoints: “viewer” roles often hold a scope that reaches a write path indirectly (Pulse approvals, n8n agents; see AI Agent Authorization).
Notable cases
| Target | Function reached | By whom |
|---|---|---|
| Fleet < 4.92.0 (CVE-2026-130758) | deprecated POST /api/latest/fleet/mdm/apple/enqueue: enqueue Apple MDM commands outside the user’s team | team-scoped admins/maintainers |
| Pulse 5.0.17–6.8.0 (CVE-2026-129428) | /api/ai/approvals: list, approve or deny other users’ AI command requests | viewer role |
| SGLang ≤ 0.5.23 | POST /load_lora_adapter_from_tensors, which with a deserialization bypass gives root RCE | unauthenticated |
| CBoard < 7bd8180 (CVE-2026-130073) | delete users, query configs | any authenticated user |
| B3log Solo ≤ 4.4.0 (CVE-2026-130078) | POST /apis/symphony/article: overwrite any article | visitor (OAuth-created) accounts |
| WWBN AVideo ≤ 29.7.1 (CVE-2026-126545) | API::get_api_tags() leaks filenames, titles and passwords of unlisted/protected videos | registered users |
| Formie (Craft CMS) | EmailController renders attacker Twig, giving Server-Side Template Injection | any authenticated user |
| Grafana 13.2 (CVE-2026-103506, CVSS 4.0 8.9) | read SSO client secrets and modify login config | authenticated users |
| WordPress Simple Membership ≤ 4.7.1 (CVE-2026-34886) | privileged plugin actions | unauthenticated |
| Convert Pro 1.0.1 | convertpro_interactions_report_ajax, convertpro_get_chart_data with sequential IDs | unauthenticated |
| Splunk Enterprise 10+ (CVE-2026-20253) | Postgres sidecar backup/restore endpoint with no auth, proxied through the main web app, giving pre-auth RCE | unauthenticated |
| django-filer ≤ 3.4.4 | ”Delete files and/or folders” admin action ignores FolderPermission when move/rename/copy enforce it | staff with read-only folder perms |
| Frappe ERPNext < 16.35.0 | financial reports | unauthorized users |
| Oracle E-Business Suite 12.2.3–12.2.15 (CVE-2026-114924, CVSS 9.8) | protected EBS REST functions (APPS DB privileges) past the Application Object Library function-authorization layer; chained with CVE-2026-114925 (REST handler instantiates request-named Java classes) for OS command execution | unauthenticated |
| Novapay wallet (practice app) | POST /api/admin/users/{id}/role {"role":"admin"} replayed with a regular user’s session | any authenticated user |
| rConfig Core 8.1.0–8.2.19 / Pro < 8.4.0 (CVE-2026-135694) | ExportController::export($table): dump tables on the EXCLUDED_TABLES deny list by naming them, giving decrypted passwords, device credentials and API tokens | any authenticated user |
| Open5GS WebUI ≤ 2.8.0 (CVE-2026-135691) | generic PATCH /api/db/Account/ model route: set roles to admin, overwrite/read hashes, delete accounts | user-role accounts |
| Zimbra 10.1.16 (CVE-2026-73571) | SaveDraftRequest sends mail as another local mailbox without a delegation grant | any mailbox user |
Sources for the new rows: Horizon3, Novapay, rConfig, Open5GS, Rapid7. A table-name deny list (rConfig) is a function-level check implemented as input filtering; an allow list of exportable tables per role is the fix. Oracle lists no workaround; network restriction to EBS HTTP/REST endpoints only narrows who can reach them.
Pattern across the table: the bug is rarely “no authz anywhere”. It is one handler, version or action that sits outside the mechanism everything else uses.
Defenses
- Deny by default at the router: every route needs an explicit policy, and a route with no annotation fails closed. Lint for handlers missing the decorator or annotation.
- Single enforcement mechanism that covers every entry point (REST, GraphQL resolvers, AJAX actions, gRPC, sidecars, background job triggers), not edge middleware alone.
- Retire deprecated endpoints or route them through the current authz layer. Inventory with API Discovery.
- Authorization matrix tests per role × function in CI (Authorization Testing Automation).
- Don’t treat network position as auth for internal or sidecar services. Splunk’s sidecar was reachable through the main app.
Related
- Authorization Security
- Broken Access Control
- Privilege Escalation
- BOLA in APIs
- OWASP API Security Top 10
- Header-Based Access Control Bypass
- GraphQL Authorization Flaws
- Authorization Testing Automation
Sources
- OWASP #5: Broken Function Level Authorization (When Users Execute Forbidden Actions) · original
- Access Control Vulnerabilities and Privilege Escalation - PortSwigger · original
- Unprotected admin functionality — PortSwigger Access control vulnerabilities Lab 1 · original
- Unprotected admin functionality with unpredictable URL — PortSwigger Access Control Lab 2 · original
- I Found the Entire Admin UI of a Live PlatformJust By Tweaking Traffic in Burp Suite · original
- Fleet authorization bypass in deprecated endpoint · original
- Pulse missing authorization in /api/ai · original
- SGLang missing authorization · original
- WWBN AVideo missing authorization in API get_api · original
- CBoard missing authorization · original
- B3log Solo missing authorization in B3Receiver · original
- Why Use App-Level Auth When Every Database Has Auth? (Splunk Enterprise CVE-2026-20253 Pre-Auth RCE) - watc... · original
- Unauthenticated Disclosure of A/B Test Data in Convert Pro — How Two Forgotten AJAX Endpoints… · original
- Formie missing authorization leads to SSTI · original
- Grafana SSO settings authorization bypass, CVE-2026-103506 (CVSS 4.0 8.9) · original
- Critical Access Control Risks in Simple Membership CVE-2026-34886 · original
- django-filer missing per-object authorization · original
- Frappe ERPNext missing authorization in financial reports · original
- CVE-2025-29927 Authorization Bypass in Next.js Middleware · original
- CVE-2026-114924 / CVE-2026-114925 | Oracle E-Business Suite Authorization Bypass & Remote Code Execution Vulnerabilities · original
- BAC In Novapay wallet · original
- rConfig missing authorization · original
- Open5GS WebUI incorrect authorization · original
- Metasploit Wrap Up: Breaking Zimbra's Identity Boundaries · original