[KongchangAI]
ConceptDNS Rebinding

DNS Rebinding

An attack technique for bypassing the browser same-origin policy. The attacker controls a domain and dynamically changes its resolution results, enabling scripts in a malicious web page to communicate with services on the user's local network. It is commonly used to attack locally exposed services.

Core Facts

Timeline (last 90 days)

Nov 9

Ollama once fixed a DNS rebinding vulnerability, but subsequent research pointed out that the same kind of problem still exists, and that as long as the bind address is not loopback, it skips validation of the requested hostname.

Unverified50%
Nov 9

DNS rebinding attacks exploit the fact that the browser same-origin policy judges by protocol, domain and port rather than the actual IP address, bypassing the same-origin policy by rapidly switching where domain resolution points.

Unverified50%
Oct 16

'Resolve-and-pin' is a transport hardening measure: first resolve the hostname, and once the specific IP is obtained, pin it for use in subsequent connections, to reduce risks such as DNS rebinding.

Unverified50%
Oct 16

In proxy scenarios, handing the parsing step over to the proxy is essentially trading "trust in the proxy-side parsing environment" for "connection reachability", and since the proxy usually performs its own caching and validation, the rebinding risk is not entirely abandoned.

Verified75%

All Facts (4)

Source Articles