A large number of DNS servers, a critical part of the Internet's infrastructure, are vulnerable to attacks that could lead to widespread fraud, according to a security researcher.
A scan conducted by Dan Kaminsky, a networking security expert, has found that hundreds of thousands of DNS servers could be vulnerable to a type of attack that routes Internet traffic to malicious websites.
The attack technique, known as DNS cache poisoning, came to public attention when attackers used it to redirect traffic from a large number of financial, entertainment, travel, health and software sites to attackers' servers in order to install malicious code.
Despite the danger, large numbers of servers are still configured in a way that allows the attack to take place, according to Kaminsky. In a scan of about 2.5 million DNS servers, he found that about a tenth, or 230,000, could be vulnerable.
Domain Name System (DNS) servers host a distributed database that allows the translation of domain names (e.g. name.com) to IP addresses. They also route e-mail by listing each domain's mail exchange server. In a cache poisoning attack, a DNS server is compromised so that a legitimate domain name resolves to the attacker's IP address, which can present the user with anything the attacker chooses.
Such techniques have been around for years, but the April incident demonstrated that they are not just theoretical. Nevertheless, many DNS servers have been left in the same vulnerable configurations that were exploited in April. DNS servers are run by all manner of organizations, including corporations and Internet service providers.
At least 230,000 of the servers scanned are configured to forward DNS requests to BIND8 DNS servers, according to Kaminsky. This was one of the vulnerabilities exploited in April, according to the SANS Institute, a security organization. Of those, 13,000 are Windows name servers forwarding to BIND8, making them exceptionally high-risk, Kaminsky said. Another 53,000 at least are very likely to be vulnerable, he said.
The Internet Software Consortium (ISC), which distributes the widely used BIND software, specifically states that BIND4 and BIND8 aren't suitable to act as targets for name server forwarders, because of the ongoing danger of DNS cache poisoning. "There is a current, wide scale Kashpureff-style DNS cache corruption attack which depends on BIND4 and BIND8 as 'forwarders' targets," ISC stated on its Web site. "Upgrade all nameservers used as 'forwarders' to BIND9."
Kaminsky said has only been able to scan a fraction of the existing name servers so far, which he estimated at nine million.
Kaminsky published some of his findings on the Web site of his firm, DoxPara Research, earlier this week. He presented the findings last week at the Black Hat security conference.