In-depth lesson · technique
Bug chains
What every disclosed Bug chains report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.
- disclosed reports read
- 2,527
- reports cited in this lesson
- 366
- median public bounty
- $5,000
- highest public bounty
- $250k
Overview
What it is and why programs pay for it.
Bug chaining is the practice of combining two or more separate weaknesses so that the combined effect is more serious than any single flaw. A low impact issue such as an open redirect or a self cross site scripting flaw can become a route to account takeover when paired with another bug. Programs care because attackers rarely stop at one flaw, and a chain often shows the real risk to users and data. The evidence shows chains leading to account takeover, remote code execution and data exposure across many reports.
This technique turns up wherever several features meet: authentication and OAuth flows, password reset, file upload and import services, URL fetching and preview features, caching layers and frontend to backend request handling. It is common in web applications with multiple components, in desktop clients that pass links to the operating system, and in products that combine a web front end with internal services. The reports show it in content management systems, mail servers, monitoring products and single sign on flows.
Most chains rest on a small set of root causes: unvalidated input passed between components, trust placed in a value that one part checks but another does not, and mismatches in how different layers parse the same request. Examples include frontend and backend disagreeing on request boundaries, a callback check that only looks at the scheme, or a token that is not tied to the resource it was issued for. Recognising these patterns helps a hunter see where two flaws might connect.
Seen in these reports10
-
-
$18,900 High -
$12,500
Show 5 moreShow fewer
-
$2,000 Critical -
$1,500 Medium -
$1,000 High -
$750 High -
High
How it works
The mechanics, as the reports show them.
Start by mapping the application's components and the data that flows between them. Look for places where one part makes a security decision and another part acts on the same value without repeating the check. The evidence shows this in OAuth redirect validation that accepts a bare path and is then resolved against a host with an open redirect, and in a preview token that is not tied to a specific store.
Next, identify low impact issues that can serve as building blocks. Open redirects, self cross site scripting, clickjacking, information disclosure and cross site request forgery are common starting points. On their own they may be dismissed, but when combined with a second flaw they can lead to account takeover or code execution. The reports show open redirects chained with OAuth token leakage, self cross site scripting chained with clickjacking, and cross site request forgery chained with script injection.
Then look for the second link that turns the building block into impact. This is often a missing check on a sensitive action, such as a password change endpoint without a CSRF token, an email change without confirmation, or a session that is not renewed after login. The evidence shows a reflected cross site scripting flaw chained with a CSRF vulnerable password change endpoint to achieve one click account takeover, and session fixation after OAuth login combined with cross site scripting on a related domain.
What makes chaining possible is often a difference in interpretation between layers. Frontend and backend servers may disagree on request boundaries, a caching layer may parse a request differently from the origin, or a sanitiser may parse tag like strings differently from the browser. These mismatches let an attacker smuggle a request, poison a cache or bypass a filter, and then combine that with another flaw.
Server side request forgery is a frequent link in chains because it lets an attacker reach internal services. The evidence shows SSRF chained with CRLF injection and insecure deserialisation to reach code execution, SSRF chained with path traversal and a sandbox escape in a mail server, and SSRF chained with an open redirect to access cloud metadata. Each step widens access until the final impact is reached.
Finally, demonstrate the chain end to end with a clear narrative. Show each step, the precondition it relies on and the final impact on a user or the system. The reports that succeeded often describe a sequence of three or more flaws, such as an open redirect, SSRF, insecure deserialisation, local file inclusion and code execution, or a cross site request forgery, open redirect and clickjacking leading to account takeover.
Seen in these reports13
-
$18,900 High -
$12,500 -
$1,500 Medium
Show 5 moreShow fewer
-
$1,250 High -
$750 High -
-
-
High
Year by year
12 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2001 | 1 |
|---|---|
| 2010 | 1 |
| 2011 | 1 |
| 2012 | 1 |
| 2013 | 2 |
| 2014 | 2 |
| 2015 | 6 |
| 2016 | 8 |
| 2017 | 26 |
| 2018 | 23 |
| 2019 | 50 |
| 2020 | 86 |
| 2021 | 56 |
| 2022 | 48 |
| 2023 | 52 |
| 2024 | 127 |
| 2025 | 258 |
| 2026 | 1256 |
-
2026
New this year3
- Comparing response times for registered and unregistered emails on login and password reset to enumerate accounts first appears in the disclosed reports this year.
- Capturing a token and cracking its symmetric signing key offline, then forging tokens for other users first appears in the disclosed reports this year.
- Looking for a way to inject into a release pipeline of a code generation tool and backdoor the next release first appears in the disclosed reports this year.
Kept working5
- Memory corruption reports clustered and targeted libraries, drivers and protocol parsers rather than web features, as shown in the disclosed reports.
- Account takeover was the most common end goal, reached by chaining identifier disclosures, script injection, cross-site request forgery and authentication flaws, as shown in the disclosed reports.
-
2025
New this year4
- Checking whether a local service coerces NTLM authentication when a network share access fails and whether the response can be relayed first appears in the disclosed reports this year.
- Running a merge request pipeline from a fork and comparing the subject claim in the issued identity token with the protected branch's claim first appears in the disclosed reports this year.
- Pushing a branch whose name contains encoded dot sequences and making it protected, then opening a policy edit page as a project member first appears in the disclosed reports this year.
Kept working2
- Hunters chained a reflected script injection with an open redirect, as shown in the disclosed reports.
- Hunters changed the account email after requesting a reset link and checked whether the old link still worked, as shown in the disclosed reports.
-
2024
New this year2
- Looking for DOM clobbering gadgets combined with message passing and a content security policy bypass first appears in the disclosed reports this year.
- Chaining script execution on a staging host with a service worker and an OAuth flow to take over an account on the main domain first appears in the disclosed reports this year.
Kept working5
- Hunters tested character set conversion in a scripting engine for a buffer overflow that reaches code execution, as shown in the disclosed reports.
- Several reports targeted CI/CD pipelines, identity tokens and dependency resolution rather than the web application itself, as shown in the disclosed reports.
Earlier years9
Root causes
52The mistakes in the code or configuration behind the reports.
-
The frontend and backend servers disagreed on request boundaries, for example through conflicting Content-Length and Transfer-Encoding handling or malformed line endings.
Seen in 3 reports
-
A mismatch between how the frontend and the caching layer parsed request boundaries, combined with caching of redirects, allowed a smuggled request to poison the cache with a redirect.
Seen in 2 reports
-
Unvalidated user input was written into a response header without stripping CRLF characters, allowing header injection.
Seen in 1 report
-
$40 High
-
-
The installer fetched remote binaries over unencrypted HTTP and ran them with sudo without checking a checksum or GPG signature.
-
The image host failed to sanitise newline characters in the request path before writing it into response headers, and served uploaded files based on a user-controlled extension rather than a fixed image type.
Seen in 1 report
Things to try
The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.
ticked in this lesson
Server-side request forgery
of 3 ticked-
Seen in 2 reports
-
Seen in 1 report
-
Seen in 1 report
Path traversal and file inclusion
of 3 ticked-
Seen in 1 report
-
Seen in 1 report
-
Seen in 1 report
Desktop and Electron clients
of 3 ticked-
Seen in 1 report
-
Seen in 1 report
-
$7,500 Critical
-
-
Seen in 1 report
Payouts
134 paidPublic bounties in US dollars, from the data. 134 of 2,527 reports show an amount.
- a quarter paid up to
- $1,313
- median
- $5,000
- three quarters paid up to
- $15k
- highest
- $250k
One in ten paid reports was paid $50k or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 304 | 15 | $5,000 | $34k |
| High | 434 | 33 | $5,000 | $55k |
| Medium | 285 | 10 | $1,250 | $100k |
| Low | 77 | 4 | $1,500 | $3,000 |
| Informational | 15 | 0 | None paid | None |
| Unrated | 1,412 | 72 | $5,000 | $250k |
Highest-paid reports5
-
$250,000 -
$148,337 -
$100,500 -
$100,115 Medium -
$97,604
Tips for beginners
12Advice for a first hunt, drawn from the reports.
-
Begin with the authentication and account flows: login, OAuth, password reset, email change and session handling. These are where chains most often lead to account takeover. Look for missing CSRF tokens, tokens that do not expire, sessions that are not renewed and redirect validation that is too broad.
Seen in 3 reports
-
Treat low impact findings as potential building blocks rather than dead ends. A self cross site scripting flaw, an open redirect or a clickjacking issue may be the first link. Record it, then look for a second flaw that lets it affect other users or a sensitive action.
Seen in 3 reports
-
Show impact clearly in your report. Describe the chain step by step, the preconditions, and the final effect on a user or the system. Reports that succeeded often explain a sequence of three or more flaws and the exact impact, such as account takeover or code execution.
Seen in 3 reports
-
Document each link with a separate report id where possible, and reference the related reports in your write up. This helps triagers see the chain as a whole and understand why the combined impact is greater than the sum of its parts.
Seen in 3 reports
-
Check how different layers parse the same request. Compare frontend and backend handling of request boundaries, caching behaviour and header parsing. Mismatches here have led to request smuggling and cache poisoning, which can then be chained with other flaws.
Seen in 2 reports
Guides and techniques
The best explainers, cheat sheets and technique posts on Bug chains, from around the web.
-
Abusing Arbitrary File Deletes To Escalate Privilege And Other Great TricksExplains how to turn arbitrary file and folder deletes on Windows into privilege escalation using fail-open tricks.
Technique zerodayinitiative.com
-
The Cache Poisoning Bible: Part 3 — Advanced Weaponization & Critical Impact ChainsThird part of a cache poisoning series covering advanced weaponisation and chaining to achieve critical impact.
Technique medium.com
-
SSO Gadgets: Escalate (Self-)XSS to ATOExplains how to escalate XSS, even self-XSS with login CSRF, to account takeover by abusing OAuth2 and OIDC SSO gadgets.
Technique security.lauritz-holtmann.de
-
Beyond ‘../../’ - a practical guide to path traversal and arbitrary file read attacksPractical walkthrough of path traversal and arbitrary file read, including filter bypasses, valuable file targets and chaining with SSRF.
Explainer yeswehack.com
-
Why Your AI Application Is Exposed (Even When Your Scans Come Back Clean)Explains how chained risk lets an LLM reach backend command execution sinks even when individual scanners report clean results.
Explainer snyk.io
Keep learning
Where this lesson fits, and what to read next.
Related techniques
How this is made: our model read every listed Bug chains report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 26 Nov 2026 from 376 reports. All Bug chains reports.