← ClaudeAtlas

api-bolalisted

Broken Object Level Authorization (OWASP API1) — object-level IDOR on API resources. Access or modify other tenants' objects by swapping IDs in path/query/body/headers, including nested and relationship endpoints. Tier 1. Use whenever an API request references an object identifier. Needs two accounts to prove cross-tenant access.
AnandJogawade/Zazy-Pentest-Plugin-for-Claude · ★ 26 · API & Backend · score 82
Install: claude install-skill AnandJogawade/Zazy-Pentest-Plugin-for-Claude
# API1 — Broken Object Level Authorization (BOLA) Endpoints take an object ID and return/modify it without checking the caller owns it — the single most common, highest-impact API bug. Points ref: `${CLAUDE_PLUGIN_ROOT}/payloads/INJECTION-POINTS.md`. ## Trigger phrases `bola, api1, object level authorization, api idor, cross-tenant, nested resource, relationship endpoint, object id swap` ## Method 1. Create accounts A and B. As A, capture every request that references an object ID (`GET /api/orders/1001`, `GET /api/users/123/cards`). As B, note B's IDs. 2. Replay A's requests with **B's session/token but A's object IDs** across **all verbs** (GET read, PUT/PATCH/POST modify, DELETE). If A's data returns/changes → BOLA. 3. Fuzz IDs with Burp Intruder: numeric sequences, GUIDs (leak them via list endpoints/logs/Referer first), and encoded IDs (base64, hex, hashids — decode, change, re-encode). 4. **Nested & relationship endpoints** — test every ID in a path (`/users/{uid}/accounts/{aid}/tx/{tid}`) and every ID inside JSON arrays/nested objects; GraphQL `node(id:)` and per-resolver args (see `graphql`). 5. **Blind BOLA** — write succeeds with no data returned; verify out-of-band or in B's session that A's record changed. 6. Automate across the whole proxy history with Burp **Autorize**/**AuthMatrix** (re-send each request under the low-priv session and diff). ## Bypass / evasion Wrap ID in an array `[123]`; change `Content-Type`; alternate ID format (email vs numeric); HTTP