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/DashboardController methods sat outside the AOP role checks. SGLang’s POST /load_lora_adapter_from_tensors lacked 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-panel in robots.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

  1. Harvest functions you can’t see: JS bundles, robots.txt, OpenAPI/Swagger, GraphQL introspection, mobile apps, old API versions (/v1/ next to /v2/).
  2. 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.
  3. Guess sibling verbs: if GET /api/users/{id} exists, try DELETE, PUT /api/users/{id}/role, POST /api/admin/users.
  4. Method and path tricks against platform-level rules: GET instead of POST, case changes, suffixes, trailing slash.
  5. Hit the deprecated path: version-pinned or legacy endpoints often predate the current authz model (Fleet).
  6. 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

TargetFunction reachedBy whom
Fleet < 4.92.0 (CVE-2026-130758)deprecated POST /api/latest/fleet/mdm/apple/enqueue: enqueue Apple MDM commands outside the user’s teamteam-scoped admins/maintainers
Pulse 5.0.17–6.8.0 (CVE-2026-129428)/api/ai/approvals: list, approve or deny other users’ AI command requestsviewer role
SGLang ≤ 0.5.23POST /load_lora_adapter_from_tensors, which with a deserialization bypass gives root RCEunauthenticated
CBoard < 7bd8180 (CVE-2026-130073)delete users, query configsany authenticated user
B3log Solo ≤ 4.4.0 (CVE-2026-130078)POST /apis/symphony/article: overwrite any articlevisitor (OAuth-created) accounts
WWBN AVideo ≤ 29.7.1 (CVE-2026-126545)API::get_api_tags() leaks filenames, titles and passwords of unlisted/protected videosregistered users
Formie (Craft CMS)EmailController renders attacker Twig, giving Server-Side Template Injectionany authenticated user
Grafana 13.2 (CVE-2026-103506, CVSS 4.0 8.9)read SSO client secrets and modify login configauthenticated users
WordPress Simple Membership ≤ 4.7.1 (CVE-2026-34886)privileged plugin actionsunauthenticated
Convert Pro 1.0.1convertpro_interactions_report_ajax, convertpro_get_chart_data with sequential IDsunauthenticated
Splunk Enterprise 10+ (CVE-2026-20253)Postgres sidecar backup/restore endpoint with no auth, proxied through the main web app, giving pre-auth RCEunauthenticated
django-filer ≤ 3.4.4”Delete files and/or folders” admin action ignores FolderPermission when move/rename/copy enforce itstaff with read-only folder perms
Frappe ERPNext < 16.35.0financial reportsunauthorized 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 executionunauthenticated
Novapay wallet (practice app)POST /api/admin/users/{id}/role {"role":"admin"} replayed with a regular user’s sessionany 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 tokensany 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 accountsuser-role accounts
Zimbra 10.1.16 (CVE-2026-73571)SaveDraftRequest sends mail as another local mailbox without a delegation grantany 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.

Sources