Knowledge Base ISC Main Website Ask a Question/Contact ISC
CVE-2012-1667: Handling of zero length rdata can cause named to terminate unexpectedly
Author: Cathy Almond Reference Number: AA-00698 Views: 6098 Created: 2012-06-04 08:37 Last Updated: 2012-07-24 00:13 0 Rating/ Voters

Processing of DNS resource records where the rdata field is zero length may cause various issues for the servers handling them.

Document Version:          
1.4
Posting date: 
04 Jun 2012
Program Impacted: 
BIND
Versions affected: 
9.0.x -> 9.6.x, 9.4-ESV->9.4-ESV-R5-P1, 9.6-ESV->9.6-ESV-R7, 9.7.0->9.7.6, 9.8.0->9.8.3, 9.9.0->9.9.1
Severity: 
Critical
Exploitable: 
Remotely

Description: 

This problem was uncovered while testing with experimental DNS record types. It is possible to add records to BIND with null (zero length) rdata fields.

Processing of these records may lead to unexpected outcomes. Recursive servers may crash or disclose some portion of memory to the client. Secondary servers may crash on restart after transferring a zone containing these records. Master servers may corrupt zone data if the zone option "auto-dnssec" is set to "maintain". Other unexpected problems that are not listed here may also be encountered.

Impact:
This issue primarily affects recursive nameservers. Authoritative nameservers will only be impacted if an administrator configures experimental record types with no data. If the server is configured this way, then secondaries can crash on restart after transferring that zone. Zone data on the master can become corrupted if the zone with those records has named configured to manage the DNSSEC key rotation.

CVSS Score: 8.5

CVSS Equation: (AV:N/AC:L/Au:N/C:P/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:L/Au:N/C:P/I:N/A:C)

Workarounds: 

Workarounds are under investigation, but none are known at this time.

Active exploits: 

No known active exploits but a public discussion of the issue has taken place on a public mailing list.

Solution: 

Upgrade to BIND version 9.6-ESV-R7-P1, 9.7.6-P1, 9.8.3-P1, or 9.9.1-P1

Acknowledgment: Dan Luther, Level3 Communications, for finding the issue, Jeffrey A. Spain, Cincinnati Day School, for replication and testing.

Document Revision History:

1.0 Released to Public 4 June, 2012

1.1 Updated Severity to Critical

1.2 Added German Translation 7 June, 2012

1.3 Added link to FAQ supplemental article in KB

1.4 Added Chinese Translation

Related Documents:

- Japanese Translation: https://www.isc.org/advisories/cve-2012-1667-jp

- Spanish Translation
: https://www.isc.org/advisories/cve-2012-1667-es

- German Translation: http://cert.uni-stuttgart.de/ticker/article.php?mid=1694

- Chinese Translation: https://www.isc.org/advisories/cve-2012-1667-cn

This security advisory is a copy of the official document located on our website: https://www.isc.org/software/bind/advisories/cve-2012-1667

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

This new KnowledgBase article includes additional information and Frequently Asked Questions about this advisory.

Do you still have questions? Questions regarding this advisory should go to security-officer@isc.org

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: https://www.isc.org/security-vulnerability-disclosure-policy

© 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