Access control
API Authorization
API authorization must protect objects, individual properties and privileged functions. An authenticated client must not be able to assign protected fields, obtain another tenant's data, or invoke functions outside its role. This category complements IDOR with property-level and function-level cases.
- 31 payloads
- 1 file
- README on GitHub
Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.
These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.
Payload files
Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.
api-authorization-payloads.txt
31 payloads · 2.7 KBLoading payloads for API Authorization…
Common Attack Vectors#
- Mass assignment and nested input binding
- Broken object property level authorization (BOPLA)
- Broken function level authorization (BFLA)
- Tenant context derived from client input
- Bulk operations with mixed ownership
- Inconsistent methods, versions and alternate routes
- Excessive protected-field exposure
Testing Approach#
Create users A and B in separate test tenants plus a separate administrator control. Establish allowed reads and reversible writes for A, then replay with B's fixture identifiers. Follow each mutation with an authenticated read to distinguish ignored fields from persisted changes. Compare response serializers for protected properties as well as writes. Field visibility must be judged against application policy, not field names alone.
Route examples require matching lab endpoints; a 404 or 200 does not establish authorization behavior. Use two-item bulk requests to check that every item is authorized and that rejection does not leave partial unauthorized effects. Use lab-only role or tenant changes and restore the fixtures after testing.
References#
Responsible Use
All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.
- Systems and applications you own
- Authorized penetration testing engagements
- Bug bounty programs with defined scope
- Educational lab environments (DVWA, WebGoat, HackTheBox)