← ClaudeAtlas

api-bflalisted

Broken Function Level Authorization (OWASP API5) — call admin/privileged functions with a low-privilege identity via admin-route enumeration, HTTP verb/method abuse, and role confusion. Tier 1. Use when an API has admin/moderator/privileged actions or role-gated endpoints.
AnandJogawade/Zazy-Pentest-Plugin-for-Claude · ★ 26 · API & Backend · score 82
Install: claude install-skill AnandJogawade/Zazy-Pentest-Plugin-for-Claude
# API5 — Broken Function Level Authorization (BFLA) Low-priv identity reaches privileged/admin functions because authorization is enforced per-endpoint inconsistently or not at all. Points ref: `${CLAUDE_PLUGIN_ROOT}/payloads/INJECTION-POINTS.md`. ## Trigger phrases `api5, bfla, function level authorization, admin endpoint, privilege escalation, verb tampering, role abuse, method swap` ## Method 1. Build a **role × endpoint matrix** (admin, user, anon). Enumerate admin/privileged routes from `api-recon`: `/api/admin/*`, `/api/v1/users/{id}/roles`, `/internal/*`, `/manage/*`, bulk/export/config actions. 2. Call each privileged function with a **low-priv token** (and anon). If it executes → BFLA. 3. **Verb/method swap** — where `GET` is allowed, try `POST/PUT/PATCH/DELETE` for the write/delete variant; many apps gate only the documented verb. 4. **Role confusion** — can a regular user hit moderator/admin actions? Does changing a role field/header (`X-Role`, `X-Admin`) change behaviour? 5. Automate with Burp **Autorize**/**AuthMatrix**: replay every admin-session request under the low-priv session and flag any that still succeed. ## Bypass / evasion Path case/encoding (`/Admin`, `/%61dmin`, `/admin/`, `/admin;`); header overrides `X-Original-URL: /admin/x`, `X-Rewrite-URL`; **verb tunneling** `X-HTTP-Method-Override: DELETE` (also `_method=DELETE`); trailing `.json`/`/`; version swap (`/v1` gated, `/v2` not). See `${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md`. ## Modern / r