In-depth lesson · technique
DNS rebinding
What every disclosed DNS rebinding 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.
- reports cited in this lesson
- 31
- median public bounty
- $1,500
Overview
What it is and why programs pay for it.
DNS rebinding is a technique that lets an attacker-controlled domain resolve first to an external address and then to an internal one, so a victim's browser or a server-side fetcher ends up talking to a service that should only be reachable locally. Bug bounty programs care because it turns a harmless-looking feature, such as a webhook, an image import or a local debug interface, into a way to reach loopback services, cloud metadata endpoints or internal networks. The reports in this set show it most often leading to server-side request forgery, information disclosure and, in some cases, remote code execution when the internal service is powerful enough.
It usually appears wherever an application or a local service accepts a hostname and then resolves it later, or where a local service lacks origin checks. Common places include outbound proxies that re-resolve names, webhook and callback testers, media import flows that fetch remote URLs, repository mirrors, and local HTTP or WebSocket interfaces exposed by desktop tools, IDE extensions, VPN clients and wallets. The evidence also shows it being used against debuggers and MCP servers, and combined with other bugs such as server-side template injection.
Seen in these reports12
-
$10,000 -
$7,500 High -
$100
Show 5 moreShow fewer
-
Gitlab Duo Chat, Duo Workflow and Agentic chat takeover via DNS rebind and unauthenticated websocketHigh -
Critical -
Medium -
Low -
High
How it works
The mechanics, as the reports show them.
The core idea is a name that changes its answer. The attacker controls a DNS zone and sets a very short time to live, so the first lookup returns an address the target will accept, and a later lookup returns a loopback or internal address. The target performs two separate resolutions, or trusts the first one and then lets something else resolve the name again, and the second answer is the one that matters.
In a server-side setting, the application validates a user-supplied URL by resolving the hostname and checking the resulting IP against a blocklist or allowlist. If the check happens before the actual fetch, or if a downstream component such as an outbound proxy resolves the name again without repeating the check, the attacker can arrange for the validation lookup to return a permitted address and the fetch lookup to return an internal one. The same pattern appears when protection is skipped because the domain initially fails to resolve, or when an allowlist is applied before the hostname is replaced with the resolved IP.
In a browser setting, the attacker hosts a page that keeps requesting a hostname. The browser resolves it to the attacker's server first, then after the DNS answer changes to a loopback address, the page's requests go to the local service. This works when the local service does not validate the Origin header or enforce CORS, so it accepts requests from any page that resolves to loopback. Local HTTP and WebSocket servers without authentication or origin checks are especially exposed.
Several implementation details make the attack possible. Protections that rely on a hostname whitelist can be bypassed if the whitelisted name is not always present in the hosts file and therefore falls through to attacker-controlled DNS. Checks that run only before resolution, or only on the hostname, miss the address that is actually contacted. Invalid IP address forms and hostnames with embedded null characters can also cause the resolver to truncate or reinterpret the name, changing the authority silently.
The impact depends on what the internal service can do. Reaching a cloud metadata endpoint can return credentials or instance details. Reaching a local debugger or IDE interface can allow reading files or issuing commands. Reaching a local device, wallet or VPN interface can lead to control of the device, information disclosure or code execution. The reports show all of these outcomes, which is why the technique is worth testing wherever a hostname is accepted and resolved later.
Seen in these reports14
-
High -
$500 High -
$100
Show 5 moreShow fewer
-
Gitlab Duo Chat, Duo Workflow and Agentic chat takeover via DNS rebind and unauthenticated websocketHigh -
Medium -
$10,000 -
High -
Year by year
7 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2014 | 1 |
|---|---|
| 2016 | 2 |
| 2018 | 1 |
| 2019 | 2 |
| 2020 | 4 |
| 2021 | 6 |
| 2022 | 5 |
| 2023 | 2 |
| 2024 | 10 |
| 2025 | 10 |
| 2026 | 16 |
-
2026
New this year3
- Supplying hostnames with embedded null characters to a resolver binding first appears in the disclosed reports.
- Testing an integration's URL check with a rebinding hostname first appears in the disclosed reports.
- Testing unauthenticated invocation of a local MCP server's tools via rebinding first appears in the disclosed reports.
Turned up less2
- Cloud metadata as the rebinding target, seen in earlier reports, is absent from the disclosed reports this year.
- Webhook test endpoints as the rebinding trigger, seen in earlier reports, are absent from the disclosed reports this year.
-
2025
New this year2
- Targeting local MCP servers and IDE extensions lacking origin validation first appears clearly in the disclosed reports.
- Using an MCP server's request tool to fetch internal hosts via rebinding first appears in the disclosed reports.
Kept working2
- A server-side fetch feature tested with a rebinding hostname showed whether it reached internal addresses in the disclosed reports.
- The local port of an IDE extension's HTTP and WebSocket interface was found and connected to from a page via DNS rebinding to issue prompts and read open files or chat history in the disclosed reports.
Turned up less2
- Cloud metadata as the rebinding target, seen in earlier reports, is absent from the disclosed reports this year.
- Webhook test endpoints as the rebinding trigger, seen in earlier reports, are absent from the disclosed reports this year.
-
2024
New this year2
- Tricking DNS pinning middleware by changing the answer after the pin is set first appears in the disclosed reports.
- Testing a local device interface for cross-site request forgery via rebinding first appears in the disclosed reports.
Kept working1
- A server-side fetch feature tested with a rebinding hostname showed whether it reached internal addresses in the disclosed reports.
Turned up less2
- Cloud metadata as the rebinding target, seen in earlier reports, is absent from the disclosed reports this year.
- Webhook test endpoints as the rebinding trigger, seen in earlier reports, are absent from the disclosed reports this year.
Reports from 20242
-
$7,500 High -
Medium
Earlier years4
Where it is found
3The features and places the reports found it in, most-reported first.
-
Local services bound to loopback that lack origin validation are reachable via DNS rebinding.
Seen in 8 reports
-
An outbound proxy that performs its own DNS resolution after the application has validated the URL.
Seen in 1 report
-
A template media library with an image replace and import flow that fetches remote URLs server-side.
Technologies in these reports16
Root causes
8The mistakes in the code or configuration behind the reports.
-
The IP blacklist was applied at the first resolution step, but the outbound proxy resolved the name again without the same checks.
Seen in 1 report
-
DNS rebinding protection was skipped when the domain initially failed to resolve, so a later resolution to an internal address was accepted.
Seen in 1 report
-
The import endpoint fetched arbitrary user-supplied URLs without validating the destination or blocking link-local and metadata addresses.
-
The IP allowlist check ran before the hostname was replaced with the resolved IP, so allowing one address let other local addresses through.
-
The rebinding protection relied on a hostname whitelist that included a name not always present in the hosts file, so it could be resolved via attacker-controlled DNS.
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
Debugger and IDE interfaces
of 3 ticked-
Seen in 2 reports
-
Seen in 1 report
Local device and client interfaces
of 3 ticked-
Seen in 1 report
Server-side fetch and URL validation
of 3 ticked-
Seen in 5 reports
-
Seen in 1 report
DNS pinning and resolver handling
of 2 ticked-
Seen in 1 report
Bypasses and variations
1How reports got past filters, encoders and other defences.
-
Use a hostname in the protection whitelist that is absent from the hosts file so it falls through to DNS.
Seen in 1 report
Payouts
7 paidPublic bounties in US dollars, from the data. 7 of 73 reports show an amount.
- a quarter paid up to
- $500
- median
- $1,500
- three quarters paid up to
- $7,500
- highest
- $10k
One in ten paid reports was paid $8,500 or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 2 | 0 | None paid | None |
| High | 11 | 2 | $4,000 | $7,500 |
| Medium | 8 | 0 | None paid | None |
| Low | 3 | 0 | None paid | None |
| Informational | 2 | 0 | None paid | None |
| Unrated | 47 | 5 | $1,500 | $10k |
Highest-paid reports5
-
$10,000 -
$7,500 -
$7,500 High -
$1,500
-
$500
Tips for beginners
11Advice for a first hunt, drawn from the reports.
-
Look for local services that lack origin validation, such as debuggers, IDE extension interfaces, MCP servers, device web interfaces, wallet daemons and VPN clients. If you can reach them from a browser page via a rebinding hostname, that is a finding.
Seen in 8 reports
-
When testing a server-side fetch, use a hostname you control whose DNS answer changes between the validation lookup and the outbound request. Check whether the response contains internal content, such as cloud metadata, to prove the fetch reached an internal address.
Seen in 7 reports
-
Start with features that fetch a URL you supply: webhook testers, callback URLs, image import or replace flows, repository mirrors and integration URL checks. These are the most common places where a second resolution happens after validation.
Seen in 5 reports
-
Try invalid IP address forms and hostnames with embedded null characters against resolver bindings and rebinding protections. These can cause the name to be truncated or reinterpreted, silently changing the authority.
Seen in 3 reports
-
Before reporting, confirm the target is in scope and that you have demonstrated real impact, such as returned internal content or a reachable local service. A rebinding hostname alone, without evidence that the request reached an internal address, is not enough.
Seen in 3 reports
Guides and techniques
The best explainers, cheat sheets and technique posts on DNS rebinding, from around the web.
-
SSRF: A complete guide to exploiting advanced SSRF vulnerabilitiesA deep SSRF guide covering host and protocol whitelist bypasses, PDF generator abuse, second-order and blind cases and DNS rebinding.
Methodology intigriti.com
-
DNS Rebinding : principes, exploitations et bonnes pratiques sécuritéExplains how DNS rebinding bypasses IP based checks to reach internal systems and lists defensive measures.
Explainer vaadata.com
-
DNS Analyzer - Finding DNS vulnerabilities with Burp SuitePresents a new Burp Suite extension that automates DNS analysis to uncover cache poisoning and related DNS weaknesses in web applications.
sec-consult.com
-
Using Wayback And DNS rebinding For SSRFShows how to combine Wayback Machine snapshots with DNS rebinding to reach internal services through SSRF filters.
Technique medium.com
Keep learning
Where this lesson fits, and what to read next.
Related techniques
How this is made: our model read every listed DNS rebinding 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 34 reports. All DNS rebinding reports.