Nytro Posted April 4, 2013 Report Posted April 4, 2013 FreeBSD Security Advisory - BIND Denial Of ServiceSite security.freebsd.orgFreeBSD Security Advisory - A flaw in a library used by BIND allows an attacker to deliberately cause excessive memory consumption by the named(8) process. This affects both recursive and authoritative servers.-----BEGIN PGP SIGNED MESSAGE-----Hash: SHA1=============================================================================FreeBSD-SA-13:04.bind Security Advisory The FreeBSD ProjectTopic: BIND remote denial of serviceCategory: contribModule: bindAnnounced: 2013-04-02Credits: Matthew Horsfall of Dyn, Inc.Affects: FreeBSD 8.4-BETA1 and FreeBSD 9.xCorrected: 2013-03-28 05:35:46 UTC (stable/8, 8.4-BETA1) 2013-03-28 05:39:45 UTC (stable/9, 9.1-STABLE) 2013-04-02 17:34:42 UTC (releng/9.0, 9.0-RELEASE-p7) 2013-04-02 17:34:42 UTC (releng/9.1, 9.1-RELEASE-p2)CVE Name: CVE-2013-2266For general information regarding FreeBSD Security Advisories,including descriptions of the fields above, security branches, and thefollowing sections, please visit <URL:http://security.FreeBSD.org/>.I. BackgroundBIND 9 is an implementation of the Domain Name System (DNS) protocols.The named(8) daemon is an Internet Domain Name Server. The libdnslibrary is a library of DNS protocol support functions.II. Problem DescriptionA flaw in a library used by BIND allows an attacker to deliberatelycause excessive memory consumption by the named(8) process. Thisaffects both recursive and authoritative servers.III. ImpactA remote attacker can cause the named(8) daemon to consume all availablememory and crash, resulting in a denial of service. Applications linkedwith the libdns library, for instance dig(1), may also be affected.IV. WorkaroundNo workaround is available, but systems not running named(8) serviceand not using base system DNS utilities are not affected.V. SolutionPerform one of the following:1) Upgrade your vulnerable system to a supported FreeBSD stable orrelease / security branch (releng) dated after the correction date.2) To update your vulnerable system via a source code patch:The following patches have been verified to apply to the applicableFreeBSD release branches.a) Download the relevant patch from the location below, and verify thedetached PGP signature using your PGP utility.# fetch http://security.FreeBSD.org/patches/SA-13:04/bind.patch# fetch http://security.FreeBSD.org/patches/SA-13:04/bind.patch.asc# gpg --verify bind.patch.asc Execute the following commands as root:# cd /usr/src# patch < /path/to/patchRecompile the operating system using buildworld and installworld asdescribed in <URL:http://www.FreeBSD.org/handbook/makeworld.html>.Restart the named daemon, or reboot the system.3) To update your vulnerable system via a binary patch:Systems running a RELEASE version of FreeBSD on the i386 or amd64platforms can be updated via the freebsd-update(8) utility:# freebsd-update fetch# freebsd-update installVI. Correction detailsThe following list contains the revision numbers of each file that wascorrected in FreeBSD.Branch/path Revision- -------------------------------------------------------------------------stable/8/ r248807stable/9/ r248808releng/9.0/ r249029releng/9.1/ r249029- -------------------------------------------------------------------------VII. Referenceshttps://kb.isc.org/article/AA-00871http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2266The latest revision of this advisory is available athttp://security.FreeBSD.org/advisories/FreeBSD-SA-13:04.bind.asc-----BEGIN PGP SIGNATURE-----Version: GnuPG v2.0.19 (FreeBSD)iEYEARECAAYFAlFbGYYACgkQFdaIBMps37J4eACeNzJtWElzKJZCqXdzhrHEB+pu1eoAn0oD7xcjoPOnB7H3xZbIeHldgGcI=BX1M-----END PGP SIGNATURE-----Sursa: FreeBSD Security Advisory - BIND Denial Of Service ? Packet Storm Quote