Field manual · BAC · Chapters 9-10
Chapter 10: the BAC checklist
Payout engineering, then laminate the list
Chapter 9: reporting: payout engineering for BAC
Section titled “Chapter 9: reporting: payout engineering for BAC”Why care: the same bug, written up badly, pays nothing; written up with the full affected-route list, it pays Critical. BAC bugs are often graded generously when escalated properly. The wording ladder:
| Report phrasing | Typical severity |
|---|---|
| “Unauthorized access to admin dashboard view” | Informational (if read-only, no sensitive data) |
“A standard user can view all users’ data via /admin/users” |
Medium |
| “Non-admin can perform user actions (delete/impersonate) via admin-only endpoints” | High |
| “Role escalation via mass assignment, any user can grant themselves admin” | Critical |
| “Full account takeover of admin accounts (password reset via admin endpoint)” | Critical+Payout |
The report’s power move for vertical findings, show the crown:
When you find role escalation, demonstrate the WORST action you could safelyperform. Do: - create a test account to play the victim (yours) - promote it (on your own account only) - access a clearly admin-only resource once (screenshot: your OWN user's record shown in the admin view)Do not: - modify any other account's production dataExplain the containment explicitly in the report.This proves the maximum severity the program allows. Do not delete their production users to prove it. That is the fastest way to get the report rejected and your account banned.
Include the “how many doors” clause: most BAC bugs aren’t one endpoint, they’re a middleware that was never installed. List all affected routes you verified. “12 admin endpoints accessible to all users” reads much louder than one URL, and honestly reflects the bug.
Chapter 10: the BAC checklist
Section titled “Chapter 10: the BAC checklist”____ Roles enumerated (standard user / premium / team-admin / support / platform-admin?)____ Endpoints harvested: crawl as every role, use grep on JS bundles, swagger, robots.txt, actuator, sitemap, wordlist-brute admin paths____ Authorization matrix drawn — role × endpoint × method (every `?` cell tested)____ Every admin-ish route requested with a standard-user session directly (forced browsing)____ Method-override & costume tricks run on protected endpoints (one route, 20 outfits)____ Mass-assignment terminology sheet fired on registration & update endpoints: role, isAdmin, admin, tier, plan, permissions, verified, balance, credits____ JWT decoded — alg, role/tenant claims, RS256/HS256 key confusion, aud checks____ OAuth flows audited — email-trust registration, token substitution, scope escalation____ Support/impersonation/debug features called directly as a standard user____ Internal/debug view params tested (?debug=1, ?internal=1, ?format=raw)____ All API versions live-tested (v1 golden, v2 current)____ Mobile API separately probed for role-gated endpoints____ Tenant boundary tested (tenant_id claims vs body vs URL)____ Login-path inventory — which login door mints the most privileged token?____ Downgrade behavior: after role loss, does the old token die?____ Race-condition spot check on privilege transitions (parallel fire)____ Sibling hunt on finding: one broken authz middleware usually means MANY doors open____ Report includes the whole affected-route list + safe crown demonstrationEpilogue: why BAC is forever
Section titled “Epilogue: why BAC is forever”Injection dies slowly (parameterized queries, ORMs). XSS is suppressed (auto-escaping frameworks, CSP). Crypto misconfig is automatable (scanners).
Authorization cannot be auto-fixed, because it is not a technology. It is a decision. Per endpoint. Per method. Per role. Per tenant. Per field. Forever.
Every new feature is a fresh set of decisions made by a developer against a deadline. The check either happens or it doesn’t. No framework makes it “just work”, because no framework knows who should see what in your business.
So the study never expires:
The IDOR hunter asks: "Is this object MINE?"The BAC hunter asks: "Is this ACTION MINE? Is this ROUTE mine? Is this ROLE mine? Is this TENANT mine? Who decides — and did they decide on THIS door?"And when you find the door nobody latched, don’t rush. Check every other door on the same hallway. Ship the report with the hallway’s full inventory. That’s not a bug report anymore.
That’s an audit.
Next step: the sibling field manual starts where this one ends, broken authentication and account takeover, where the same missing question shows up in login, reset, and session flows instead of routes.
Open local graph around this page
Broken Access ControlFor authorized security research only: bug bounty programs, your own systems, or scoped engagements with written permission.