Skip to content
Back to skills

Api Bola

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 17, 2026
securitynodeapibackend

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill api-bola --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Bola?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Bola
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-api-bola/badge)](https://www.skillsdirectory.com/skills/anandjogawade-api-bola)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-bola
description: 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.
---

# 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 method swap (`GET` blocked but `POST`/`PUT` allowed); parameter pollution `id=victim&id=self`; append `.json`/trailing slash; case/encoding on the path. See `${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md`.

## Modern / rare techniques
- **[RARE] Relationship chaining** — object you can't read directly is exposed via a parent you own (`/teams/mine/members/{victim}`).
- **[RARE] Encoded/opaque IDs aren't protection** — base64/hashids decode trivially; v1-UUIDs are time-seeded; sequential-in-disguise IDs.
- **Mass enumeration** — sweep a numeric/weak ID range to show systemic exposure; report as one finding.

## Escalation / chaining
BOLA on a write path → account takeover (change victim email/password), financial/data tampering. Harvest IDs via `api-recon`; combine with `api-bopla` (mass assignment) and `api-bfla`.

## Backend & tooling
Preferred Kali path (WSL+Kali / Kali-MCP / HexStrike). Route both sessions through Burp; use Autorize for systemic coverage. See `zazy-orchestrator`.

## Verification (background, before reporting)
Confirm the returned/modified object belongs to the *other* tenant via unique PII/timestamps, reproduced in a clean second session. One confirmed cross-tenant hit is enough; sample a range to show scale. True positives only.

## Evidence
Two-session proof: A's object returned/altered under B's identity, both identities shown, unique object fields highlighted, impact + remediation (per-object authz tied to session identity).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.