Skip to content

Part 06

Disclosed Cases & Recurring Patterns

4 min readBroken Access Control

Studying real BAC is the fastest way to internalize what it looks like in the wild. Each card below carries a label. Documented cards link to a public source you can read in full, with figures only where that source confirms them. Pattern cards describe a recurring, high-value shape of bug and do not pin it to a specific unverified report or payout. Treat any dollar figure as the band these bugs command, not a guarantee. Documented cases lead with the most recent (2024-2026) and run back to the classics.

Microsoft Entra ID · global cross-tenant impersonation Documented

The defining cross-tenant case of the era. Researcher Dirk-jan Mollema found that a legacy Azure AD Graph API accepted unsigned internal "Actor tokens" and never validated that the token's tenant matched the target. That allowed impersonation of any user, including Global Administrators, in any Entra ID tenant worldwide. CVE-2025-55241, CVSS 9.8 (CWE-287). Reported Jul 2025 and fixed globally within days; Microsoft reported no in-the-wild abuse. Researcher writeup →

GitLab · trigger a pipeline as another user Documented

CVE-2024-6385 (CVSS 9.8, CWE-284 Improper Access Control). Under certain conditions an attacker could cause a CI/CD pipeline to run as another user — inheriting that user's permissions and job-scoped secrets. A clean build-layer BFLA/impersonation flaw in a supply-chain-critical product; fixed in 16.11.6 / 17.0.4 / 17.1.2. NVD · CVE-2024-6385 →

tj-actions/changed-files · CI supply-chain compromise Documented

CVE-2025-30066. A widely-used GitHub Action's version tags were repointed to malicious code (Mar 2025), exfiltrating CI secrets from any workflow that referenced it by a mutable tag rather than a pinned SHA. Strictly this is embedded-malicious-code (CWE-506), not classic BAC — but it's the canonical illustration of the CI/CD trust-boundary failure now scoped under OWASP A03 (§5.8), and CISA added it to the KEV catalog. NVD · CVE-2025-30066 →

Facebook · Business Manager page takeover Documented

The canonical BAC case study. An IDOR in Business Manager's /business_share/asset_to_agency/ endpoint let a researcher swap parent_business_id, agency_id and asset_id and assign themselves role=MANAGER on any page. Disclosed by Arun Sureshkumar (2016); $16,000. Threatpost →

GitLab · Runner registration-token disclosure Documented

CVE-2022-0735. An unauthorized user could steal CI/CD runner registration tokens via an information-disclosure flaw triggered through quick-action commands — missing authorization with serious blast radius (registered runners execute pipeline jobs). Fixed in 14.6.5 / 14.7.4 / 14.8.2. NVD · CVE-2022-0735 →

HackerOne · The famous $20k, fine print Documented

Often mis-told as an authorization bug. In reality (Nov 2019) a HackerOne analyst pasted a live session cookie into a report reply via a copied curl command; researcher haxta4ok00 reused it to read private reports — $20,000. A real lesson, but a session-handling failure, not a BAC export bug. Graham Cluley →

Async export / report workers losing context Pattern

A high-yield class worth its own test: background jobs (PDF / report / export generation) that authorize the request but run as a privileged worker which fetches data by ID without re-checking ownership. Enumerate job IDs, trigger generation, read other users' output. Lost tenant/session context at the worker boundary is a recurring real bug.

Partner / SSO email-confirmation bypass → ATO Pattern

Marketplaces and partner portals (Shopify among them) have repeatedly paid five-figure bounties when an email-confirmation or identity-merge step is bypassable. The attacker binds their session to a victim store or partner, then pivots to full takeover via password reset. Test every "add / confirm email" and partner-invite flow for missing ownership checks.

Client-supplied role trusted by the API Pattern

An endpoint accepts role, is_admin or a tier field from the client and trusts it server-side, returning higher-privileged responses (often including other users' PII). The mass-assignment sibling of vertical priv-esc (§2.8). Replay every role-bearing write with elevated field values.

Cross-tenant export via unauthorized job ID Pattern

The SaaS goldmine (§2.10). Export / download endpoints that authorize only on the existence of a globally-unique job ID — not on tenant ownership — let one workspace download another's export. Async export pipelines are especially prone to dropping tenant context. Consistently a five-figure class in B2B SaaS.

Pre-account-takeover via unverified email merge Pattern

Attach an unverified email/identifier to an account before the real user exists; when they later sign up (often via SSO), the identities merge and the attacker retains access. A well-known "pre-account-takeover" class affecting identity-merge logic across many platforms.

Over-broad role check across scopes Pattern

An authorization check confirms you hold a role somewhere ("is a moderator of any subreddit") instead of here ("moderates this one"), exposing other scopes' data — mod logs, modmail, internal notes. ReBAC and "team member" models are especially prone. Always test the resource-specific boundary, not just role membership.

Connections1 backlink · 0 outgoingFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

Links out to

No outgoing internal links on this page.

Broken Access ControlFor authorized security research only: bug bounty programs, your own systems, or scoped engagements with written permission.