In-depth lesson · DNS rebinding
Tips for beginners
Every point the DNS rebinding reports back under this heading, best-backed first, each with the reports it is seen in.
-
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
-
Avoid reporting a local service that is already designed to be reachable, or a fetch that only reaches an external address you control. Show that the request crossed into loopback, link-local or metadata space.
Seen in 3 reports
-
Test debuggers on macOS specifically, because earlier fixes were insufficient there, and test misconfigured VS Code extensions for path traversal combined with rebinding.
-
Try the failure case: a domain that first does not resolve and then resolves to an internal address. Some protections skip the check when the initial resolution fails, and the later answer is accepted.
Seen in 1 report
-
Test allowlist bypasses. If an administrator has allowed one local IP for outbound requests, try reaching a different local IP through a rebinding hostname to see whether the allowlist is applied before the hostname is replaced with the resolved IP.
-
Check whether a hostname whitelist includes a name that is not always present in the hosts file. If it falls through to DNS, you can control the answer and bypass the protection.
Seen in 1 report
-
For browser-based attacks, account for timing. DNS rebinding in Chrome and Safari can require split-second timing, so make the page retry and keep the time to live short.
Seen in 1 report