|
Various vendors have supplied patches to fix the core DNS issue. See References for details on these patches.
X-Force encourages organizations to ensure the appropriate vendor-supplied patches have been applied. However, if the DNS server is behind a NAT device that does not randomly select source ports, the server may still be vulnerable after patching it.
Some secure NAT devices do exist. Linux boxes running ipchains usually preserve the UDP source port selections made by clients running behind them, which preserves the randomness introduced by the client. An OpenBSD machine running pf will assign a new random UDP port for each transaction. Unpatched DNS servers behind NAT devices that behave like this may not be vulnerable.
A NAT that selects cryptographically random source ports can help protect a vulnerable application running behind it that selects ports predictably. Conversely, a NAT that selects ports sequentially breaks the security of applications behind it that depend on random port selection. In short, the recommended mitigation strategy may depend significantly on the NAT in use.
Although several reports have indicated that there are enterprise-class NAT devices that do not randomize ports, no patches were available at the time of this alert's publication.
Since the exploit details of this attack are now public, X-Force encourages customers to attempt to mitigate this threat before vendor updates are available.
One mitigation technique is to move caching internal DNS servers that are behind NAT into a DMZ where they can be directly assigned a unique Internet IP address. Another possibility is to direct all queries from internal name servers to a temporary forwarding server placed in the DMZ until updates for the NAT device are available. In the later case, it is important that to make sure that recursion is disabled on the internal servers. If not, the internal servers may query directly to servers out on the Internet. |