cbcvebase.
CVE-2008-1447
published 2008-07-08

CVE-2008-1447: 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…

PriorityP267medium6.8CVSS 3.1
AVNACHPRNUINSCCNIHAN
EXPLOIT
EPSS
95.18%
99.9th percentile
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."

Affected

192 ranges· showing 25
VendorProductVersion rangeFixed in
applebonjour
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios
ciscoios_ips

Detection & IOCsextracted from sources · hover to see the quote

port53/UDP
port32883/UDP (example resolver source port for recursive queries)
commandauxiliary/spoof/dns/bailiwicked_domain
domainred.metasploit.com
domaindns01.metasploit.com
  • Detect DNS cache poisoning attempts by monitoring for high-volume spoofed UDP DNS responses (port 53) with rapidly incrementing or brute-forced transaction IDs sent to a resolver from a single source IP, especially where the source IP spoofs a legitimate authoritative nameserver.
  • Alert on DNS resolvers using static/predictable source ports for outbound recursive queries (SRCPORT fixed), as this dramatically reduces the entropy needed for a successful poisoning attack.
  • Monitor DNS resolver caches for unexpected NS record changes for a target domain, particularly where the new NS entry does not match any previously observed authoritative nameserver.
  • Detect the Kaminsky attack pattern: a flood of queries for random subdomains of a target domain (e.g., a<random>.example.com) originating from the same source, which is used to trigger resolver lookups that can be raced with spoofed responses.
  • Check for DNS queries to spoofprobe or canary domains at red.metasploit.com, which are used by the Metasploit bailiwicked modules to fingerprint the resolver's source port before launching the poisoning attack.
  • Correlate CVE-2008-1447 exploitation risk with CVE-2008-0166 (Debian weak SSL keys): OpenID Providers using weak TLS certificates combined with DNS cache poisoning make it impossible to rely on those providers for authentication.
  • ·The attack requires knowledge of the resolver's outbound source port. If the resolver uses randomized source ports (source port randomization / DNSSEC), the attack success probability drops dramatically. The exploit's own success formula shows that with fixed ports the full 16-bit TXID space (65536) must be guessed, but with a fixed source port the only entropy is the TXID.
  • ·The Metasploit bailiwicked_domain module uses an external Metasploit service (red.metasploit.com) to determine the resolver's source port before attacking; environments blocking outbound DNS to that service will prevent automatic source port detection.
  • ·The Python exploit (exploit-db 6123) is noted to be slow due to Python's performance characteristics, meaning real-world attack time may be significantly longer than C-based implementations.
  • ·The C exploit (exploit-db 6130) requires libdnet (libdumbnet-dev on Ubuntu) for raw packet sending; without this dependency the exploit cannot be compiled or run.

CVSS provenance

nvdv3.16.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv6.8MEDIUM
vendor_cisco6.8MEDIUM
vendor_debian6.8LOW
vendor_redhat6.8MEDIUM
vendor_ubuntu6.8MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.