Vulnerability Chaining

Combining individually low-value, out-of-scope or “informative” primitives into one exploit path with critical impact. It is the main way hunters turn duplicates and Lows into P1s, and the main reason triagers ask “what can you actually do with it?”

How it works

Programs pay for demonstrated impact, and many primitives are explicitly excluded or capped when they stand alone: open redirect, self-XSS, blind SSRF to an internal port, limited XXE, a prototype-pollution gadget. A chain changes the question from “is this a bug?” to “what does the attacker end up with?” Typical patterns:

Primitive (alone: Low/OOS)+ Link= Impact
Open redirect on auth flowAuth code / token in redirect URLOne-click ATO
Dangling CNAME (subdomain takeover)OAuth client with wildcard redirect_uriZero-interaction code theft → ATO
Self-XSSCSRF to plant the payloadReflected XSS on victims
Stored XSS on a sibling subdomainCookie tossingForced login / session fixation
Out-of-scope XSSIframe sandwich onto in-scope originATO
”Harmless” SSRFInternal service SSRF + CRLF + cache deserializationRCE
Limited XXEgopher:// to internal RedisSession store exposure
IDOR on enumerable IDsCSRF accepting placeholder tokenAnonymous takeover of workflow
Same-origin script executionRead CSRF token → mint API tokenCross-account compromise

Notable cases

  • GitHub Enterprise, 4 bugs → RCE (Orange Tsai, Best Report).
    1. Webhook SSRF. faraday-restrict-ip-addresses is a blocklist, bypassed with 0 = localhost.
    2. A second SSRF in internal Graphite (port 8000) gives an “SSRF execution chain”.
    3. CRLF injection in Python httplib smuggles other protocols.
    4. GitHub caches Ruby objects in memcached wrapped in Marshal, so a smuggled memcached set of a malicious Marshal object yields RCE. See Gopher Protocol SSRF and Insecure Deserialization.
  • Basecamp Fizzy, 5 bugs → cross-account API token theft (H1 #3943339, CVSS 8.7).
    1. A pagination helper forwards all params into the Rails URL builder, including script_name, which bends the “page 2” URL to the Active Storage blob proxy.
    2. The direct-upload content-type check misses text/html;charset=utf-8. It is an exact-string denylist, and only the S3 path is affected.
    3. Orphaned (unattached) blobs are readable by any signed-in user.
    4. The Turbo Frame renderer executes inline scripts and copies the page’s CSP nonce onto them.
    5. Same-origin JS reads the CSRF token and mints a write-scoped bearer token.
  • Zee Entertainment, P1 CVSS 9.0. An open redirect in signin?callback= sent the browser to evil.com/?pt=&tag=<one-time OTP auth code>. The code was redeemable once at /partner/getdeviceuser?token=… for the victim’s session. The researcher held the open redirect back instead of reporting a Low.
  • Stale CNAME + OAuth 2.0 wildcard ($6,000). A forgotten marketing subdomain pointed at an expired SaaS instance. Taking it over captured authorization codes, because the IdP allowed https://*.target.com/oauth/callback. See OAuth 2.0 Vulnerabilities.
  • XXE → Redis ($1,000 → $10,000). An XML-RPC endpoint was found by decompiling client DLL/EXEs. Entity expansion was confirmed, internal sockets were enumerated (port 6379 seen), and then gopher://172.x.x.x:6379/0INFO%20server%0d%0aQUIT%0d%0a, INFO keyspace and SCAN 0 COUNT 20 ran against unauthenticated Redis. The trailing QUIT was needed because LWP’s gopher handler reads to EOF.
  • Self-XSS → reflected XSS + WAF bypass (Bugcrowd private). The search input reflected unsafely only in the <1280 px mobile search UI. CSRF delivered it to victims.
  • Stored XSS → forced login via cookie tossing, and out-of-scope XSS → ATO via an “iframe sandwich” (OWASP AppSec Days PT 2026). Both are ways to get paid for XSS on assets the program does not value.
  • Wizard Takeover (PetMemoria lab from a real report). IDOR via enumerable IDs across a 5-step wizard, plus a backend that accepted the literal CSRF-token placeholder, gave anonymous takeover of memorial drafts.
  • GitHub Rails test secret in production ($18,000). A leaked signing secret → signed-cookie forgery → unsafe deserialization.
  • Meta Math.random() secret ($66,000). A predictable secret + a postMessage handler + a missing sanitization step.
  • Chrome full chain ($250,000, XBOW/Dolan-Gavitt). Three bugs assembled in 6 days into renderer-to-sandbox-escape code execution. The submission nearly lost out as a duplicate.
  • From Shodan to an unpaid delivery. A weak credential on an exposed device pivoted into a logistics system, ending in real-world order manipulation.
  • Self-XSS + CSRF past a single-use CAPTCHA: a feedback form reflected the payload only to the submitter and enforced a CAPTCHA that is consumed once it is used. Generating the CSRF PoC from an intercepted request and then dropping it left the CAPTCHA token unconsumed, so the auto-submitting form delivered the XSS to another user (Cross-Site Scripting, Cross-Site Request Forgery; writeup).
  • Encryption oracle + broken access control. A public EncodeString endpoint encrypted any username; the ciphertext was accepted by EncUserID?UserName=, which returned PII, security answers and PINs. Opaque IDs protect nothing when the app mints them on request (d0loreh4z3).
  • Enumeration + cracked HS256 + sequential IDs → ATO (Intel/CBSE). Login timing and reset-response differences confirmed emails; the HS256 secret intel fell to rockyou offline; forged tokens plus sequential user IDs reached the target account (InfoSec Write-ups). See JWT Secret Cracking.
  • postMessage XSS → ATO (Chess.com). Any-origin SHOW_MESSAGE_MODAL → innerHTML sink → a filter that restored unsanitized chess comments after DOMPurify. XSS on the authenticated origin became ATO because Google/Apple accounts can set a password without the old one (xenops).
  • Weak origin check + navigation sink. origin.hostname.includes(host) accepted redacted.com.attacker.com; a REDIRECT message wrote e.data.value.url to window.location.href (Medium). See DOM-Based XSS.

Chaining heuristics

  • When you find a Low, ask what it leaks (codes, tokens, CSRF tokens, internal sockets) and what trusts the asset (OAuth redirect allowlists, cookie scope, CORS, internal caches).
  • Prerequisite-dependent bugs, such as prototype-pollution gadgets, get discounted in severity unless you supply the prerequisite yourself (JFrog’s Axios analysis). Chain the gadget to a real source.
  • Prove the chain end-to-end before reporting. Partial chains invite a downgrade (see Writing Bug Bounty Reports).

See also: Prototype Pollution · Race Conditions

See also: Open Redirect

Sources