Executive Summary

Summary
Title BIND: Weak random number generation
Informations
Name GLSA-200708-13 First vendor Publication 2007-08-18
Vendor Gentoo Last vendor Modification 2007-08-18
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:N)
Cvss Base Score 5.8 Attack Range Network
Cvss Impact Score 4.9 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

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.

Background

ISC BIND is the Internet Systems Consortium implementation of the Domain Name System (DNS) protocol.

Description

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
(CVE-2007-2925).

Impact

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.

Workaround

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.

Resolution

All ISC BIND users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-dns/bind-9.4.1_p1"

References

[ 1 ] CVE-2007-2925 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2925
[ 2 ] CVE-2007-2926 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2926

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200708-13.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200708-13.xml

CAPEC : Common Attack Pattern Enumeration & Classification

Id Name
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs
CAPEC-13 Subverting Environment Variable Values
CAPEC-17 Accessing, Modifying or Executing Executable Files
CAPEC-39 Manipulating Opaque Client-based Data Tokens
CAPEC-45 Buffer Overflow via Symbolic Links
CAPEC-51 Poison Web Service Registry
CAPEC-59 Session Credential Falsification through Prediction
CAPEC-60 Reusing Session IDs (aka Session Replay)
CAPEC-76 Manipulating Input to File System Calls
CAPEC-77 Manipulating User-Controlled Variables
CAPEC-87 Forceful Browsing
CAPEC-104 Cross Zone Scripting

CWE : Common Weakness Enumeration

% Id Name

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:10293
 
Oval ID: oval:org.mitre.oval:def:10293
Title: ISC BIND 9 through 9.5.0a5 uses a weak random number generator during generation of DNS query ids when answering resolver questions or sending NOTIFY messages to slave name servers, which makes it easier for remote attackers to guess the next query id and perform DNS cache poisoning.
Description: ISC BIND 9 through 9.5.0a5 uses a weak random number generator during generation of DNS query ids when answering resolver questions or sending NOTIFY messages to slave name servers, which makes it easier for remote attackers to guess the next query id and perform DNS cache poisoning.
Family: unix Class: vulnerability
Reference(s): CVE-2007-2926
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Red Hat Enterprise Linux 4
CentOS Linux 4
Oracle Linux 4
Red Hat Enterprise Linux 5
CentOS Linux 5
Oracle Linux 5
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:20473
 
Oval ID: oval:org.mitre.oval:def:20473
Title: DSA-1341-2 bind9 - DNS cache poisoning vulnerability
Description: This update provides fixed packages for the oldstable distribution (sarge). For reference the original advisory text.
Family: unix Class: patch
Reference(s): DSA-1341-2
CVE-2007-2926
Version: 5
Platform(s): Debian GNU/Linux 4.0
Product(s): bind9
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:21703
 
Oval ID: oval:org.mitre.oval:def:21703
Title: ELSA-2007:0740: bind security update (Moderate)
Description: ISC BIND 9 through 9.5.0a5 uses a weak random number generator during generation of DNS query ids when answering resolver questions or sending NOTIFY messages to slave name servers, which makes it easier for remote attackers to guess the next query id and perform DNS cache poisoning.
Family: unix Class: patch
Reference(s): ELSA-2007:0740-02
CVE-2007-2926
Version: 6
Platform(s): Oracle Linux 5
Product(s): bind
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:2226
 
Oval ID: oval:org.mitre.oval:def:2226
Title: Security Vulnerability in Solaris 10 BIND: Susceptible to Cache Poisoning Attack
Description: ISC BIND 9 through 9.5.0a5 uses a weak random number generator during generation of DNS query ids when answering resolver questions or sending NOTIFY messages to slave name servers, which makes it easier for remote attackers to guess the next query id and perform DNS cache poisoning.
Family: unix Class: vulnerability
Reference(s): CVE-2007-2926
Version: 1
Platform(s): Sun Solaris 10
Product(s):
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 9

OpenVAS Exploits

Date Description
2009-10-10 Name : SLES9: Security update for bind,bind-devel,bind-utils
File : nvt/sles9p5015954.nasl
2009-10-10 Name : SLES9: Security update for bind
File : nvt/sles9p5019202.nasl
2009-05-05 Name : HP-UX Update for BIND HPSBUX02251
File : nvt/gb_hp_ux_HPSBUX02251.nasl
2009-04-09 Name : Mandriva Update for bind MDKSA-2007:149 (bind)
File : nvt/gb_mandriva_MDKSA_2007_149.nasl
2009-03-23 Name : Ubuntu Update for bind9 vulnerability USN-491-1
File : nvt/gb_ubuntu_USN_491_1.nasl
2009-02-27 Name : Fedora Update for bind FEDORA-2007-1247
File : nvt/gb_fedora_2007_1247_bind_fc7.nasl
2009-02-27 Name : Fedora Update for bind FEDORA-2007-4658
File : nvt/gb_fedora_2007_4658_bind_fc7.nasl
2009-02-27 Name : Fedora Update for bind FEDORA-2007-647
File : nvt/gb_fedora_2007_647_bind_fc6.nasl
2009-02-17 Name : Fedora Update for bind FEDORA-2008-0904
File : nvt/gb_fedora_2008_0904_bind_fc7.nasl
2009-01-28 Name : SuSE Update for bind, bind9 SUSE-SA:2007:047
File : nvt/gb_suse_2007_047.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200708-13 (bind)
File : nvt/glsa_200708_13.nasl
2008-09-04 Name : FreeBSD Ports: named
File : nvt/freebsd_named0.nasl
2008-09-04 Name : FreeBSD Security Advisory (FreeBSD-SA-07:07.bind.asc)
File : nvt/freebsdsa_bind4.nasl
2008-01-17 Name : Debian Security Advisory DSA 1341-1 (bind9)
File : nvt/deb_1341_1.nasl
2008-01-17 Name : Debian Security Advisory DSA 1342-2 (bind9)
File : nvt/deb_1342_2.nasl
0000-00-00 Name : Slackware Advisory SSA:2007-207-01 bind
File : nvt/esoft_slk_ssa_2007_207_01.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
36236 ISC BIND allow-query-cache/allow-recursion ACL Bypass

36235 ISC BIND Predictable DNS Query IDs Cache Poisoning

Nessus® Vulnerability Scanner

Date Description
2017-04-21 Name : The remote OracleVM host is missing one or more security updates.
File : oraclevm_OVMSA-2017-0066.nasl - Type : ACT_GATHER_INFO
2013-07-12 Name : The remote Oracle Linux host is missing one or more security updates.
File : oraclelinux_ELSA-2007-0740.nasl - Type : ACT_GATHER_INFO
2012-08-01 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20070724_bind_on_SL5_x.nasl - Type : ACT_GATHER_INFO
2011-05-28 Name : The remote Slackware host is missing a security update.
File : Slackware_SSA_2007-207-01.nasl - Type : ACT_GATHER_INFO
2009-09-24 Name : The remote SuSE 9 host is missing a security-related patch.
File : suse9_11717.nasl - Type : ACT_GATHER_INFO
2007-12-13 Name : The remote SuSE 10 host is missing a security-related patch.
File : suse_bind-3976.nasl - Type : ACT_GATHER_INFO
2007-11-14 Name : The remote host is missing a Mac OS X update which fixes a security issue.
File : macosx_10_4_11.nasl - Type : ACT_GATHER_INFO
2007-11-10 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-491-1.nasl - Type : ACT_GATHER_INFO
2007-11-06 Name : The remote Fedora host is missing a security update.
File : fedora_2007-1247.nasl - Type : ACT_GATHER_INFO
2007-10-17 Name : The remote openSUSE host is missing a security update.
File : suse_bind-3964.nasl - Type : ACT_GATHER_INFO
2007-09-25 Name : The remote HP-UX host is missing a security-related patch.
File : hpux_PHNE_36973.nasl - Type : ACT_GATHER_INFO
2007-08-21 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200708-13.nasl - Type : ACT_GATHER_INFO
2007-08-13 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1341.nasl - Type : ACT_GATHER_INFO
2007-08-02 Name : The remote FreeBSD host is missing one or more security-related updates.
File : freebsd_pkg_3de342fb40be11dcaeac02e0185f8d72.nasl - Type : ACT_GATHER_INFO
2007-07-27 Name : The remote CentOS host is missing one or more security updates.
File : centos_RHSA-2007-0740.nasl - Type : ACT_GATHER_INFO
2007-07-27 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2007-0740.nasl - Type : ACT_GATHER_INFO
2007-07-27 Name : The remote Mandrake Linux host is missing one or more security updates.
File : mandrake_MDKSA-2007-149.nasl - Type : ACT_GATHER_INFO
2007-07-27 Name : The remote Fedora Core host is missing a security update.
File : fedora_2007-647.nasl - Type : ACT_GATHER_INFO
2007-06-18 Name : The remote host is missing Sun Security Patch number 119784-40
File : solaris10_x86_119784.nasl - Type : ACT_GATHER_INFO
2007-06-18 Name : The remote host is missing Sun Security Patch number 119783-40
File : solaris10_119783.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:35:03
  • Multiple Updates