Knowledge Base ISC Main Website Ask a Question/Contact ISC
CVE-2014-0591: A Crafted Query Against an NSEC3-signed Zone Can Crash BIND
Author: Michael McNally Reference Number: AA-01078 Views: 8831 Created: 2014-01-13 06:30 Last Updated: 2014-01-13 18:56 0 Rating/ Voters

An unintentional defect in the handling of NSEC3-signed zones can cause BIND to be crashed by a specific set of queries.

Document Version:          
2.0
Posting date: 
13 Jan 2014
Program Impacted: 
BIND
Versions affected: 
9.6.0.x -> 9.6-ESV-R10-P1, 9.7 (all versions), 9.8.0 -> 9.8.6-P1, 9.9.0 -> 9.9.4-P1.  Development releases 9.6-ESV-R11b1, 9.8.7b1, and 9.9.5b1 are also affected.
Severity: 
High
Exploitable: 
Remotely

Description:

Because of a defect in handling queries for NSEC3-signed zones, BIND can crash with an "INSIST" failure in name.c when processing queries possessing certain properties. By exploiting this defect an attacker deliberately constructing a query with the right properties could achieve denial of service against an authoritative nameserver serving NSEC3-signed zones.

Please Note: Versions of BIND 9.7 are also affected, but this branch is beyond its "end of life" (EOL) and no longer receives testing or security fixes from ISC. For current information on which versions are actively supported, please see http://www.isc.org/downloads/software-support-policy/bind-software-status/.

Impact:

Authoritative nameservers serving at least one NSEC3-signed zone are vulnerable to this defect.  Recursive-only servers are not at risk.  Authoritative servers which do not serve NSEC3-signed zones are not at risk.

CVSS Score:  5.4

CVSS Vector:  (AV:N/AC:H/Au:N/C:N/I:N/A:C)

For more information on the Common Vulnerability Scoring System and to obtain your specific environmental score please visit: http://nvd.nist.gov/cvss.cfm?calculator&adv&version=2&vector=(AV:N/AC:H/Au:N/C:N/I:N/A:C)

Workarounds:

None.

Active exploits:

There are no known active exploits but limited discussion of this issue has taken place on a public mailing list.

Solution:  Upgrade to the patched release most closely related to your current version of BIND. These can all be downloaded from http://www.isc.org/downloads.

  • BIND 9 version 9.6-ESV-R10-P2
  • BIND 9 version 9.8.6-P2
  • BIND 9 version 9.9.4-P2

Acknowledgements: ISC would like to thank Jared Mauch for reporting this issue.

Document Revision History:

1.0 Phase One, Advance Notification 06 January, 2014
1.1 Phase One+, Advance Notification 08 January, 2014
1.2 Phase Two & Three, Advance Notification 10 January, 2014
1.3 Changed CVSS Equation to Vector and edited Exploits 11 January, 2014
2.0 Phase Four, Public Release 13 January, 2014

Related Documents:

See our BIND Security Matrix for a complete listing of Security Vulnerabilities and versions affected.

This Knowledge Base article https://kb.isc.org/article/AA-01085 provides additional information and Frequently Asked Questions about this advisory.

If you'd like more information on our ISC Member program please visit https://www.isc.org/members/, or product support please visit http://www.dns-co.com/solutions/.

Do you still have questions?  Questions regarding this advisory should go to security-officer@isc.orgTo report a new issue, please encrypt your message using security-officer@isc.org's PGP key which can be found here: https://www.isc.org/downloads/software-support-policy/openpgp-key/.  If you are unable to use encrypted email, you may also report new issues at: https://www.isc.org/mission/contact/.

Note: ISC patches only currently supported versions. When possible we indicate EOL versions affected.

ISC Security Vulnerability Disclosure Policy:  Details of our current security advisory policy and practice can be found here: ISC Software Defect and Security Vulnerability Disclosure Policy

This Knowledge Base article https://kb.isc.org/article/AA-01078/74/ is the complete and official security advisory document.

Legal Disclaimer:
Internet Systems Consortium (ISC) is providing this notice on an "AS IS" basis. No warranty or guarantee of any kind is expressed in this notice and none should be implied. ISC expressly excludes and disclaims any warranties regarding this notice or materials referred to in this notice, including, without limitation, any implied warranty of merchantability, fitness for a particular purpose, absence of hidden defects, or of non-infringement. Your use or reliance on this notice or materials referred to in this notice is at your own risk. ISC may change this notice at any time.  A stand-alone copy or paraphrase of the text of this document that omits the document URL is an uncontrolled copy. Uncontrolled copies may lack important information, be out of date, or contain factual errors.

© 2001-2014 Internet Systems Consortium

Feedback
  • Please help us to improve the content of our knowledge base by letting us know how we can improve this article or by submitting suggestions for other articles you'd like to see created. Information on how to obtain further help on our products or services can be found on our main website.' If you have a technical question or problem on which you'd like help, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.
Info Submit Feedback on this Article
Nickname: Your Email: Subject: Comment:
Enter the code below:
Quick Jump Menu