blob: 5913cd8805b6cf5d214077fcdc65ce6957201ec7 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200708-13">
<title>BIND: Weak random number generation</title>
The ISC BIND random number generator uses a weak algorithm, making it
easier to guess the next query ID and perform a DNS cache poisoning attack.
<product type="ebuild">bind</product>
<announced>August 18, 2007</announced>
<revised>August 18, 2007: 01</revised>
<package name="net-dns/bind" auto="yes" arch="*">
<unaffected range="ge">9.4.1_p1</unaffected>
<vulnerable range="lt">9.4.1_p1</vulnerable>
ISC BIND is the Internet Systems Consortium implementation of the
Domain Name System (DNS) protocol.
Amit Klein from Trusteer reported that the random number generator of
ISC BIND leads, half the time, to predictable (1 chance to 8) query IDs
in the resolver routine or in zone transfer queries (CVE-2007-2926).
Additionally, the default configuration file has been strengthen with
respect to the allow-recursion{} and the allow-query{} options
<impact type="normal">
A remote attacker can use this weakness by sending queries for a domain
he handles to a resolver (directly to a recursive server, or through
another process like an email processing) and then observing the
resulting IDs of the iterative queries. The attacker will half the time
be able to guess the next query ID, then perform cache poisoning by
answering with those guessed IDs, while spoofing the UDP source address
of the reply. Furthermore, with empty allow-recursion{} and
allow-query{} options, the default configuration allowed anybody to
make recursive queries and query the cache.
There is no known workaround at this time for the random generator
weakness. The allow-recursion{} and allow-query{} options should be set
to trusted hosts only in /etc/bind/named.conf, thus preventing several
security risks.
All ISC BIND users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=net-dns/bind-9.4.1_p1&quot;</code>
<uri link="">CVE-2007-2925</uri>
<uri link="">CVE-2007-2926</uri>
<metadata tag="requester" timestamp="Sun, 05 Aug 2007 10:40:49 +0000">
<metadata tag="submitter" timestamp="Mon, 13 Aug 2007 23:06:16 +0000">
<metadata tag="bugReady" timestamp="Tue, 14 Aug 2007 23:00:40 +0000">