access-controllisted
Install: claude install-skill AnandJogawade/Zazy-Pentest-Plugin-for-Claude
# Broken Access Control (hub)
Access control must be tested by trying to cross every boundary with at least one account per role. Build a role×endpoint matrix; every cell where actual access > intended is a finding.
## Trigger phrases
`access control, privilege escalation, bfla, function level auth, forced browsing, authorization bypass, multi-tenant`
## Vectors
- **Vertical (BFLA):** replay admin/privileged requests as a low-priv/unauth user; forced-browse `/admin`, `/api/internal/*`, actuators, debug routes; guess sibling routes and verbs.
- **Horizontal:** act on peer users' resources (→ `idor`).
- **Parameter-based:** roles/flags in request (`?admin=true`, `role=admin`, JWT/cookie claim, hidden field) — tamper them (→ `mass-assignment`).
- **Referer/Location-based controls:** app only checks `Referer` or hides UI — call the endpoint directly.
- **Multi-step flaws:** skip or reorder steps; reach a later step without passing an earlier gate.
- **URL-matching / platform bypasses [NEW/RARE]:** `/admin/..;/`, `/%2e/admin`, `/admin%2f`, trailing `/` or `.`, case, double-encoding, `X-Original-URL`/`X-Rewrite-URL`/`X-Forwarded-For: 127.0.0.1` header overrides, Spring/Node/nginx-specific path normalization gaps.
## Method
For each endpoint record intended-vs-actual access per role (unauth, user A, user B, admin). Test method tampering (GET↔POST, `X-HTTP-Method-Override`), content-type switch, and path-normalization bypasses on anything "protected."
## Escalation
Vertical esca