Skip to content

Part 05

Advanced Techniques

6 min readBroken Access Control

Once you’ve drained the obvious surface, these are the techniques that turn dead targets into paid reports.

5.1 Chained BAC: combining low-impact bugs into high-impact ones

Section titled “5.1 Chained BAC: combining low-impact bugs into high-impact ones”

One IDOR returning email is medium. One IDOR returning the password reset token is critical. The art is chaining: a benign disclosure plus a benign action plus a missing check becomes ATO.

  • Disclosure + Mutation. Read victim’s GUID via search autocomplete (low impact alone) → use the GUID in a profile-update IDOR (read-only alone is low) → change their email (chained: full ATO).
  • SSRF + IDOR. Internal admin API requires localhost → SSRF on a separate endpoint lets you call it from inside.
  • Open redirect + OAuth. Open redirect on the target’s domain is low; chained into OAuth redirect_uri validation, it’s ATO.
  • Cache deception + IDOR. Account page cacheable via cache deception → IDOR fetches victim’s view of their own account into the cache → public URL leaks it.

Most modern apps are 20+ microservices behind an API gateway. Authorization decisions split across services and a missing check in one service is the bug.

  • Service-to-service header trust. Service A authenticates the user and forwards X-User-Id: 555 to Service B. If you can reach Service B directly (via internal DNS, exposed port, or a misconfigured gateway), you spoof X-User-Id.
  • Internal endpoints leaked through gateway. /internal/* or /_admin/* paths sometimes survive the gateway rewrite.
  • JWT pass-through. Gateway validates JWT and forwards it; downstream service re-uses claims without re-validating signature.
  • Service mesh sidecar bypass. If mTLS is misconfigured (mTLS optional, or weak SPIFFE policy), you reach services directly.

These don’t fit a tidy category, they’re business-logic bugs that happen to be authorization failures. The category is huge and the payouts are enormous because scanners can’t find them.

  • Stale invitation tokens. Invite link emailed to victim@x.com is still valid after recipient changes email or leaves the team.
  • Role-downgrade race. Demote admin → admin is still admin until cache refresh.
  • Negative quantities / amounts. Transfer -100 from victim to attacker.
  • Workflow skip. Order requires owner approval; submit “approved” status directly.
  • Soft-delete IDOR. Deleted records still readable via the trash/history endpoint without ownership check.
  • API versioning rollback. /api/v1/users deprecated and unmaintained but still alive, and lacks the v2 authz model.
  • Sandbox/preview/staging in production. preview.target.com uses the production DB and skips auth.
  • Hardcoded admin tokens. Some mobile apps ship with embedded service tokens for diagnostics. Decompile (apktool, jadx) and search.
  • SSL pinning bypass + intercept. Frida, objection, when intercepted, mobile APIs frequently use a more permissive surface than web.
  • Deep link authorization. Custom URL schemes (app://reset?token=...) often skip the standard auth pipeline.
  • Background sync. Offline-first apps often have a sync endpoint that accepts arbitrary local changes, including changes to resources you don’t own.
  • Signed URL replay. S3 / GCS / Azure pre-signed URLs valid longer than necessary; once leaked, anyone can read.
  • IAM confused deputy. Service has IAM privileges users don’t; coerce it to act on attacker’s behalf.
  • Bucket policy gaps. s3:GetObject public on a tenant-segmented bucket.
  • Cognito/Firebase rules misconfiguration. Read/write rules allow auth != null instead of auth.uid == resource.uid.
  • Platform bug vs. customer misconfig, report them differently. A platform isolation defect (like Entra’s CVE-2025-55241, §6) is the provider’s fault: rare, catastrophic, and reported to the provider. A customer misconfiguration (over-broad IAM binding, a shared BigQuery dataset, a public s3:GetObject on a tenant-segmented bucket) is far more common and usually in scope on the customer’s own program. Same symptom, cross-tenant exposure, but the remediation owner, and the right disclosure channel, differ.

Endpoints that get less attention from the security team than the main app:

  • Email/template-rendering services (track.example.com, e.example.com)
  • File processing services (image resize, PDF gen), often see the raw URL of the original resource
  • Status / dashboard / metrics endpoints (/metrics, /healthz, /actuator/*)
  • Internal-only CMS (cms.example.com, blog-admin.example.com)
  • Marketing-tag servers (often have auth tokens in plaintext)
  • Legacy redirected hostnames (old.example.com, m.example.com)

5.7 AI- & LLM-Application Authorization Emerging

Section titled “5.7 AI- & LLM-Application Authorization Emerging”

AI features bolt a new authorization surface onto existing apps, and the access-control checks frequently don’t follow the data into the model layer. OWASP’s Top 10 for LLM Applications (2026 edition) names several of these directly, name the edition when you cite an ID, since the 2025 and 2026 numbers moved. The high-value targets:

  • RAG document-level access control (LLM02:2026). Retrieval-augmented generation searches a vector store and feeds matches to the model. If document ACLs aren’t enforced at retrieval time, a low-privileged user’s query surfaces chunks from documents they can’t read, a clean confidentiality break that bypasses the app’s normal authz entirely. Test by asking for content you shouldn’t have and watching what the model cites.
  • Excessive agency / tool authorization (LLM03:2026, formerly LLM06:2025). Agentic systems let the model call tools (DB queries, internal APIs, file access). If a tool runs with the app’s privileges instead of the user’s, prompt-driven requests become a confused-deputy privilege escalation. Ask the agent to do something your own account can’t, and see whether the tool does it anyway.
  • Embedding & index leakage (LLM09:2026, formerly LLM08:2025). Vector indexes shared across tenants, or embeddings that encode retrievable source text, can leak other tenants’ data through similarity search.
  • Conversation & memory boundaries. Chat history, agent memory, and uploaded-file stores keyed only by a guessable conversation ID are IDOR (§2.1) by another name.

5.8 CI/CD & Pipeline Authorization Emerging

Section titled “5.8 CI/CD & Pipeline Authorization Emerging”

OWASP’s 2025 refresh added A03 Software Supply Chain Failures, and a large slice of it is really access control at the build layer: who can trigger a pipeline, whose identity a job runs as, and what a job is allowed to read. CI/CD systems are high-value targets. A pipeline usually holds cloud credentials, signing keys, and deploy access, so a build-layer authz bug is a short path to production.

  • Trigger-as-another-user. Pipeline triggers that don’t bind to the caller’s identity/role let a low-privileged user run jobs, and use job-scoped secrets, as someone else. GitLab CVE-2024-6385 (§6, Critical) is the textbook case.
  • Missing permission checks on plugin/endpoint surfaces. CI platforms are plugin-heavy, and a single plugin that forgets an authz check exposes cross-project data or unintended builds, e.g. Jenkins CVE-2024-23901, where a plugin unconditionally discovered projects shared with the owner group and let an attacker get a crafted pipeline built.
  • Unpinned / mutable action references. Referencing a third-party CI action by a floating tag instead of a pinned commit SHA means whoever controls that tag controls your pipeline. That was the root cause of the tj-actions/changed-files compromise (CVE-2025-30066, §6). Grep workflows for uses: on mutable tags and over-broad permissions: write-all.
  • Runner / registration-token exposure. Registration tokens and job artifacts that leak across project or scope boundaries let an attacker attach a runner or read another team’s build output (cf. GitLab CVE-2022-0735, §6).
Connections1 backlink · 2 outgoingFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

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