Skip to content

There’s no place like 127.001: Achieving reliable DNS rebinding

Luke Young

Bypassing browser protections and network mitigations to reliably exploit local network services.

Summary

Trust Assumptions

People lock doors at night but rarely bolt furniture to floors. Similarly, developers treat local networks as trusted without implementing proper authentication. This assumption is dangerous.

DNS Rebinding Attacks

Same-origin policy assumes internal HTTP traffic is trusted. DNS rebinding bypasses this by exploiting implicit trust in local networks. Older techniques have been largely dismissed as unreliable.

Overcoming Limitations

The presentation covers DNS rebinding mechanics, browser mitigations, network defenses, and how to bypass each. The notorious unreliability that causes developers to ignore the issue is resolved through proper technique.

Practical Exploitation

Analysis of popular services shows how they are affected by DNS rebinding. A released tool automates attack generation and mitigation bypass. Live demonstration exploits vulnerable services to achieve remote code execution, proving practical exploit value.

Related talks