DNS Rebinding Turns Name Validation into a Time-of-Use Risk
DNS Rebinding Turns Name Validation into a Time-of-Use Risk An outbound HTTP feature may appear safe after it rejects literal loopback and private IP addresses. The service parses a user-supplied URL, resolves its hostname, checks the returned address against an allowlist, then lets the HTTP client open the connection. Those steps contain a gap. The policy decision applies to an address observed at one moment, while the network connection may perform another DNS lookup later. If the hostname is controlled by an attacker, its DNS answers can change between those events. The validated name stays identical while the destination address changes.