Description
The DNS protocol, as implemented in (1) BIND 8 and 9 before 9.5.0-P1, 9.4.2-P1, and 9.3.5-P1; (2) Microsoft DNS in Windows 2000 SP4, XP SP2 and SP3, and Server 2003 SP1 and SP2; and other implementations allow remote attackers to spoof DNS traffic via a birthday attack that uses in-bailiwick referrals to conduct cache poisoning against recursive resolvers, related to insufficient randomness of DNS transaction IDs and source ports, aka "DNS Insufficient Socket Entropy Vulnerability" or "the Kaminsky bug."
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | adns | 1.4-2 | — |
| Debian 14 | bind9 | 1:9.5.0.dfsg-5 | — |
| Debian 14 | dnsmasq | 2.43-1 | — |
| Debian 14 | dnspython | 1.7.1-1 | — |
| Debian 14 | libnet-dns-perl | 0.63-2 | — |
| Debian 14 | refpolicy | 2:0.0.20080702-1 | — |
| Debian 14 | udns | 0.2-1 | — |
| Debian 13 | adns | 1.4-2 | — |
| Debian 13 | bind9 | 1:9.5.0.dfsg-5 | — |
| Debian 13 | dnsmasq | 2.43-1 | — |
| Debian 13 | dnspython | 1.7.1-1 | — |
| Debian 13 | libnet-dns-perl | 0.63-2 | — |
| Debian 13 | refpolicy | 2:0.0.20080702-1 | — |
| Debian 13 | udns | 0.2-1 | — |
| Debian 12 | adns | 1.4-2 | — |
| Debian 12 | bind9 | 1:9.5.0.dfsg-5 | — |
| Debian 12 | dnsmasq | 2.43-1 | — |
| Debian 12 | dnspython | 1.7.1-1 | — |
| Debian 12 | libnet-dns-perl | 0.63-2 | — |
| Debian 12 | refpolicy | 2:0.0.20080702-1 | — |
| Debian 12 | udns | 0.2-1 | — |
| Debian 5.0 | bind9 | 1:9.4.2-10+lenny1 | DTSA-147-1 |
| Debian 4.0 | bind9 | 1:9.3.4-2etch3 | DSA-1603-1 |
| Debian 4.0 | dnsmasq | 2.35-1+etch4 | DSA-1623-1 |
| Debian 4.0 | python-dns | 2.3.0-5.2+etch1 | DSA-1619-1 |
| Debian 4.0 | refpolicy | 0.0.20061018-5.1+etch1 | DSA-1617-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | bind +7 | 30:9.3.4-6.0.2.P1.el5_2 | RHSA-2008:0533 |
| RHEL 5 | dnsmasq | 2.45-1.el5_2.1 | RHSA-2008:0789 |
| RHEL 5 | selinux-policy +4 | 2.4.6-137.1.el5_2 | RHSA-2008:0533 |
| RHEL 4 | bind +4 | 20:9.2.4-28.0.1.el4 | RHSA-2008:0533 |
| RHEL 4 | selinux-policy-targeted +1 | 1.17.30-2.150.el4 | RHSA-2008:0533 |
| RHEL 3 | bind +4 | 20:9.2.4-22.el3 | RHSA-2008:0533 |
| RHEL 2 | bind +2 | 9.2.1-10.el2 | RHSA-2008:0533 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 2 modules
-
DNS BailiWicked Host Attack
auxiliary/spoof/dns/bailiwicked_host
-
DNS BailiWicked Domain Attack
auxiliary/spoof/dns/bailiwicked_domain
Exploit-DB 3
- BIND 9.x - Remote DNS Cache Poisoning EDB-6130 · remote · Jul 25, 2008 · verified
- BIND 9.x - Remote DNS Cache Poisoning EDB-6123 · remote · Jul 24, 2008 · verified
- BIND 9.4.1 < 9.4.2 - Remote DNS Cache Poisoning (Metasploit) EDB-6122 · remote · Jul 23, 2008 · verified
GitHub 1 repository
-
hamlasiraj/metasploit-bailiwicked_domain-fix ★ 1 · Aug 22, 2025
Fix for undefined method each in Metasploit’s bailiwicked_domain.rb (CVE-2008-1447 DNS cache poisoning module)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 7
- RHSA-2008:0533 Red Hat Security Advisory: bind security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2008:0789 Red Hat Security Advisory: dnsmasq security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1623-1 dnsmasq - cache poisoning Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1603-1 bind9 - cache poisoning Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-147-1 bind9 - cache poisoning Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1619-1 python-dns - DNS response spoofing Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1617-1 refpolicy - incompatible policy Debian Security (DSA / DLA) · Mar 9, 2026
References
- 1020438 vdb-entry
- FEDORA-2008-6256 vendor-advisory
- SUSE-SR:2008:017 vendor-advisory
- VU#800113 third-party-advisory
- 31137 third-party-advisory
- 31430 third-party-advisory
- http://www.kb.cert.org/vuls/id/MIMG-7DWR4J
- 31169 third-party-advisory
- http://www.phys.uu.nl/~rombouts/pdnsd.html
- 1020702 vdb-entry
- GLSA-201209-25 vendor-advisory
- ADV-2008-2052 vdb-entry
- 1020561 vdb-entry
- http://www.vmware.com/security/advisories/VMSA-2008-0014.html
- HPSBOV03226 vendor-advisory
- 1020578 vdb-entry
- FreeBSD-SA-08:06 vendor-advisory
- oval:org.mitre.oval:def:9627 vdb-entry signature
- 1020802 vdb-entry
- HPSBMP02404 vendor-advisory
- 30131 vdb-entry
- [4.2] 013: SECURITY FIX: July 23, 2008 vendor-advisory
- 31236 third-party-advisory
- APPLE-SA-2008-09-15 vendor-advisory
- 1020651 vdb-entry
- 1020437 vdb-entry
- 31209 third-party-advisory
- 31012 third-party-advisory
- 31151 third-party-advisory
- ADV-2008-2050 vdb-entry
- http://support.citrix.com/article/CTX117991
- 31237 third-party-advisory
- http://www.phys.uu.nl/~rombouts/pdnsd/ChangeLog
- APPLE-SA-2008-07-31 vendor-advisory
- win-dns-client-server-spoofing(43334) vdb-entry
- 31495 third-party-advisory
- 6130 exploit
- 20080708 Multiple Cisco Products Vulnerable to DNS Cache Poisoning Attacks vendor-advisory
- 1020579 vdb-entry
- http://www.nominum.com/asset_upload_file741_2661.pdf
- 1020653 vdb-entry
- 30998 third-party-advisory
- DSA-1603 vendor-advisory
- ADV-2008-2525 vdb-entry
- SUSE-SA:2008:033 vendor-advisory
- 31094 third-party-advisory
- IZ26668 vendor-advisory
- 31687 third-party-advisory
- ADV-2008-2025 vdb-entry
- 239392 vendor-advisory
- TA08-260A third-party-advisory
- 31588 third-party-advisory
- 31019 third-party-advisory
- ADV-2008-2029 vdb-entry
- SSRT080058 vendor-advisory
- 6123 exploit
- IZ26671 vendor-advisory
- FEDORA-2008-6281 vendor-advisory
- ADV-2008-2268 vdb-entry
- ADV-2009-0297 vdb-entry