Contact Us Today! (215) 853-2266

Bardissi Enterprises Blog

Bardissi Enterprises has been serving the Hatfield area since 2000, providing IT Support such as technical helpdesk support, computer support, and consulting to small and medium-sized businesses.

WatchGuard: All DNS Servers Suffer From Common DNS Protocol Vulnerabilities

Severity: Medium

9 July, 2008

Summary:

§ This vulnerability affects: All software and networking devices that run DNS servers; to a lesser extent, software or devices with DNS clients

§ How an attacker exploits it: By sending your DNS server (or client) a series of specially crafted DNS queries and/or responses

§ Impact: The attacker could poison your DNS server’s cache with arbitrary IP addresses, thus forcing your users to visit arbitrary, malicious web sites

§ What to do: Deploy the appropriate updates from your DNS vendors as quickly as possible

Severity: Medium

9 July, 2008

Summary:

§ This vulnerability affects: All software and networking devices that run DNS servers; to a lesser extent, software or devices with DNS clients

§ How an attacker exploits it: By sending your DNS server (or client) a series of specially crafted DNS queries and/or responses

§ Impact: The attacker could poison your DNS server’s cache with arbitrary IP addresses, thus forcing your users to visit arbitrary, malicious web sites

§ What to do: Deploy the appropriate updates from your DNS vendors as quickly as possible

Exposure:

The Domain Name Service (DNS) is a standard protocol used to translate IP addresses into human readable names. For instance, when you visit www.watchguard.com in your web browser, your DNS server translates that name into an Internet routable IP address registered to our company.

In a coordinated effort launched yesterday, CERT released an advisory warning of some overarching design flaws in the way many products implement the DNS protocol. These flaws could lead to a significant security vulnerability called DNS cache poisoning. Since the design flaws lie within the DNS protocol itself, the vulnerabilities can affect any software or networking device that runs a DNS server. They could even affect, to a lesser extent, software and devices that have a DNS client. Here’s a short list of the more common vendors and products affected by these DNS flaws:

§ Microsoft Windows (both its DNS Server and Client components, as described in yesterday’s alert)

§ Cisco IOS products

§ ISC’s Bind

§ Red Hat Linux

§ Sun Microsystems SunOS

For a complete list of affected vendors, see the Systems Affected section of CERT’s advisory.

Dan Kaminsky, a well-known DNS security researcher, discovered a way to exploit three DNS protocol design flaws. In order to give the world time to patch, Kaminsky and the vendors involved have not released any significant technical details describing how an attacker might exploit these vulnerabilities. They only generally outline the three design flaws as follows:

§ Insufficient randomization of a DNS query’s transaction ID field — When making DNS queries, DNS Servers and clients should use a strong random number (one that’s not easy to predict) for a field in the query called the transaction ID. Otherwise, an attacker might guess the transaction ID and can use that information to help falsify a DNS response in lieu of a legitimate response.

§ Multiple outstanding Resource Record requests — If your DNS server gets multiple requests to look up the same Resource Record (RR) (domain name data) at the same time, it should only generate one RR request and then share that result with all the requestors. However, many DNS implementations will generate multiple identical requests for the same RR. This condition leads to the possibility of something known as a birthday attack, which greatly increases the probability of successful DNS spoofing attacks.

§ Fixed source port in DNS queries — Many DNS implementations use the same source port for their DNS queries. The lack of source port randomization can make it easier for attackers to spoof DNS replies.

By combining these three vulnerabilities in some manner which Kaminsky hasn’t yet explained in detail, an attacker can launch successful DNS cache poisoning attacks against your DNS server (and in some classes, specific DNS clients). This means an attacker can arbitrarily make any domain name point to any IP address he wants to. He could, for example, make www.bankofamerica.com point to the IP address of a malicious phishing site in an attempt to steal your banking credentials. Or he might redirect the domain name for any popular web site to point to a malicious drive-by download site that forces arbitrary malware onto your computer. In short, if an attacker can poison your DNS, you’ll never know if you’re seeing the correct version of the site you want to visit.

While Internet-wide DNS cache poisoning poses a very critical and sobering threat, the lack of technical details in CERT and Kaminsky’s alert has lead many security experts to question the true severity of these DNS flaws. In general, vulnerabilities that rely on lack of randomization of certain elements often take significant effort for attackers to exploit. While some vulnerabilities can make it easier for attackers to predict random elements, just how predictable those elements are depends greatly on the technical details of the flaws. Without knowing how Kaminsky combined these flaws in his attack, we can’t say exactly how severe a risk they pose. However, since these vulnerabilities could potentially pose a very serious risk, and do affect so many products and devices, we highly recommend you patch all your affected DNS software and hardware as soon as you can.

Solution Path:

Many of the vendors affected by these vulnerabilities have released updates to mitigate the risk of these DNS protocol design issues. For a complete list of affected vendors, and links to those vendors’ updates, visit the Systems Affected section of CERT’s advisory. When you click the vendors’ links, you’ll get directed to another page that supplies you with the link to that vendor’s update. Keep in mind that at the time of this writing, many vendors have not yet responded to CERT’s coordinated release effort. CERT lists these vendors with the status of “Unknown.” You may want to occasionally revisit the Systems Affected section of CERT’s advisory to see if any vendors are changed to “Vulnerable.”

Also, if you are curious about whether or not your DNS servers are affected by this flaw, visit Dan Kaminsky’s DoxPara Research page. In the top-right corner of the main page, Kaminsky has provided an automated DNS Checker tool that will test whether or not these vulnerabilities affect the DNS servers assigned to your computer. The tool requires JavaScript to work, so be sure to enable it for DoxPara if you’ve used tools to block it.

Note: If you applied the patches from yesterday’s consolidated Windows alert, you have already applied Microsoft fix for this DNS issue.

For All WatchGuard Users:

As far as we can tell, these attacks travel as normal-looking DNS traffic, which you must allow if you want your users to access the Internet. Therefore, the vendor’s patches are your best solution.

Status:

Many vendors have released patches to fix these vulnerabilities.

References:

§ CERT’s DNS advisory

§ Microsoft’s DNS advisory

§ Cisco’s DNS advisory

§ Bind’s DNS advisory

Dan Kaminsky’s DoxPara Research Page

 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Guest
Thursday, 21 November 2024
If you'd like to register, please fill in the username, password and name fields.

Captcha Image

Mobile? Grab this Article!

QR-Code dieser Seite

Blog Archive

Recent Comments

Tip of the Week: Which Headphones are Right for Your Needs?
23 April 2018
I will recommend Plantronics Backbeat Pro 2 SE Noise cancelling Headset with it's Great features.
Gamification: Make Business Fun for Everyone
27 January 2017
The world is based on the games. There are many types of games as per the aussie essay writing servi...
Let's Talk Tablets
12 January 2017
The concept of tablet is far better than that of PC because you can bring them with you everywhere a...
Tip of the Week: Tweak Your Workday in These 4 Ways and See Major Results
12 January 2017
The only thing will I will say regarding this blog is that it is very helpful at least for me. As I ...
WatchGuard Releases Version 10.2.7 for WSM, Edge, Fireware, and Fireware Pro
23 December 2016
I really needed to know about the fireware but i was confused that where can i find information abou...