Inspect query authorization and retrieval limits
SEC-014 / v1.2.1 / 2026-10-19
Editorial inspection guidance. Start with read-only permissions; fixes, credential revocation, and production changes follow the owner’s authorization.
Read-only review example
For this kind of environment
An API exposes user or organization data through detail, list, and export endpoints.
- First read
- Read how each endpoint checks the caller against the requested resource.
- Where to look
- How organization and user context is established.
- Authorization conditions for detail, list, and export access.
- Limits covering volume, pagination, and bulk retrieval.
- Evidence to retain
- Record actor-resource-action rules and the scope of existing denial and volume tests.
- What this does not establish
- Hard-to-guess IDs and login requirements do not establish authorization. Do not make unauthorized requests.
Applicability
Environments where user or organization identity determines accessible data, including bulk-query controls.
Read the incidents behind this rule (29)
- 2りんかんイエローハット: unauthorized access and impact
- Aflac Japan: ordinary-looking requests and bulk data queries
- ベネフィット・ワン: unauthorized access and impact
- Commune: member data leaked through invitation and administrator impersonation
- Denmark CPR: unauthorized retrieval through legitimate company access
- エン: unauthorized access and impact
- ファンくる: unauthorized access and impact
- ファインズ: unauthorized access and impact
- infoQ: software vulnerability exploited, with unauthorized point redemptions
- Gポイント: unauthorized access and impact
- hi-ho: unauthorized customer login using information obtained through solicitation
- 日本原子力研究開発機構: unauthorized access and impact
- 加賀ソルネット: unauthorized access and impact
- 小松製作所: data exposure and authorization boundaries
- 関西学院大学: data exposure and authorization boundaries
- 京都府 KYO育tv: data exposure and authorization boundaries
- nimoca: unauthorized access to the public usage-history service
- 大阪高等裁判所: data exposure and authorization boundaries
- 佐嘉平川屋: unauthorized access and impact
- セイコーマート: unauthorized access and impact
- 生命保険協会: data exposure and authorization boundaries
- 静岡県: data exposure and authorization boundaries
- 集英社: unauthorized access and impact
- skyticket bus: automated access to reservation pages without login
- スタディサプリ: unauthorized access and impact
- タカラトミー: data exposure and authorization boundaries
- チケットプラス: data exposure and authorization boundaries
- ウェブライフ: unauthorized access and impact
- Weverse Company: unauthorized access and impact
Where to look first
- API routes, authorization, tenant filtering, and database queries
- Pagination, exports, retrieval limits, and monitoring configuration
Inspection steps
- Inspect server-side caller and record authorization; use evidence from an authorized test environment for unauthenticated, insufficient-role, and cross-tenant denial.
- Inspect per-user and per-tenant volume limits and detection, including repeated ordinary requests, pagination, and access spread across endpoints.
- In an authorized test environment, verify authorization across private endpoints and methods, rejection of malformed tokens, invitations and role changes.
Remediation direction
- Centralize server-side authorization and set appropriate limits and alerts; verify allowed and denied queries with synthetic data.
Evidence required for completion
- Record API coverage, role/ownership combinations, allow/deny results, retrieval limits, and alert evidence; identify untested endpoints and exports.
Limits and unverified scope
- Limits do not repair authorization flaws. Do not exercise bulk requests or real customer queries in production; unavailable permissions or test evidence mean unverified.
Read this in context
Keep user and organization data separated
Connect resource authorization with the boundaries controlling reuse of generated responses.