Dns rebinding

From zakirkun/ice-tea · View interactive version

Dns rebinding is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects server-side host validation logic vulnerable to DNS rebinding attacks, allowing attackers to bypass IP-based restrictions.

How to use this skill

Skill file

DNS Rebinding Vulnerability

Overview

DNS rebinding allows an attacker to bypass Same-Origin Policy and IP allowlists. The attack works by:

  1. Victim visits attacker's page at evil.com
  2. Attacker's DNS TTL expires; evil.com resolves to 127.0.0.1
  3. JavaScript makes requests to evil.com which now reach the victim's localhost services
  4. Services that only check the IP (not the Host header) are bypassed

Vulnerable applications that check Host header or resolve hostname for validation without proper binding.

Detection Strategy

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.