-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                              ESB-2013.1143.2
                      integer overflow in IP_MSFILTER
                             11 September 2013

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           ip_multicast
Publisher:         FreeBSD
Operating System:  FreeBSD
Impact/Access:     Root Compromise        -- Remote/Unauthenticated
                   Access Privileged Data -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2013-3077  

Original Bulletin: 
   ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-13:09.ip_multicast.asc

Revision History:  September 11 2013: Binary patch released for 9.2-RC1
                   August    22 2013: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=============================================================================
FreeBSD-SA-13:09.ip_multicast                               Security Advisory
                                                          The FreeBSD Project

Topic:          integer overflow in IP_MSFILTER

Category:       core
Module:         kernel
Announced:      2013-08-22
Credits:        Clement Lecigne (Google Security Team)
Affects:        All supported versions of FreeBSD.
Corrected:      2013-08-22 00:51:37 UTC (stable/9, 9.2-PRERELEASE)
                2013-08-22 00:51:43 UTC (releng/9.1, 9.2-RC1-p1)
                2013-08-22 00:51:43 UTC (releng/9.2, 9.2-RC2-p1)
                2013-08-22 00:51:48 UTC (releng/9.1, 9.1-RELEASE-p6)
                2013-08-22 00:51:37 UTC (stable/8, 8.4-STABLE)
                2013-08-22 00:51:56 UTC (releng/8.4, 8.4-RELEASE-p3)
                2013-08-22 00:51:56 UTC (releng/8.3, 8.3-RELEASE-p10)
CVE Name:       CVE-2013-3077

For general information regarding FreeBSD Security Advisories,
including descriptions of the fields above, security branches, and the
following sections, please visit <URL:http://security.FreeBSD.org/>.

0.   Revision History

v1.0  2013-08-22 Initial release.
v1.1  2013-09-07 Binary patch released for 9.2-RC1.

I.   Background

IP multicast is a method of sending Internet Protocol (IP) datagrams to a
group of interested receivers in a single transmission.

II.  Problem Description

An integer overflow in computing the size of a temporary buffer can
result in a buffer which is too small for the requested operation.

III. Impact

An unprivileged process can read or write pages of memory which belong to
the kernel.  These may lead to exposure of sensitive information or allow
privilege escalation.

IV.  Workaround

No workaround is available.

V.   Solution

Perform one of the following:

1) Upgrade your vulnerable system to a supported FreeBSD stable or
release / 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 applicable
FreeBSD release branches.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch http://security.FreeBSD.org/patches/SA-13:09/ip_multicast.patch
# fetch http://security.FreeBSD.org/patches/SA-13:09/ip_multicast.patch.asc
# gpg --verify ip_multicast.patch.asc

b) Apply the patch.

# cd /usr/src
# patch < /path/to/patch

c) Recompile your kernel as described in
<URL:http://www.FreeBSD.org/handbook/kernelconfig.html> and reboot the
system.

3) To update your vulnerable system via a binary patch:

Systems running a RELEASE version of FreeBSD on the i386 or amd64
platforms can be updated via the freebsd-update(8) utility:

# freebsd-update fetch
# freebsd-update install

VI.  Correction details

The following list contains the correction revision numbers for each
affected branch.

Branch/path                                                      Revision
- - -------------------------------------------------------------------------
stable/8/                                                         r254629
releng/8.3/                                                       r254632
releng/8.4/                                                       r254632
stable/9/                                                         r254629
releng/9.1/                                                       r254631
releng/9.2/                                                       r254630
- - -------------------------------------------------------------------------

To see which files were modified by a particular revision, run the
following command, replacing NNNNNN with the revision number, on a
machine with Subversion installed:

# svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base

Or visit the following URL, replacing NNNNNN with the revision number:

<URL:http://svnweb.freebsd.org/base?view=revision&revision=NNNNNN>

VII. References

<other info on vulnerability>

<URL:http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3077>

The latest revision of this advisory is available at
<URL:http://security.FreeBSD.org/advisories/FreeBSD-SA-13:09.ip_multicast.asc>
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (FreeBSD)

iEYEARECAAYFAlIu+gwACgkQFdaIBMps37L2+QCePwycOYKrh9VJi7Pc2AS+DfsQ
UcUAnimJz9bKgDUOEIwefkPbF85yH3aw
=tnWM
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUi/TPhLndAQH1ShLAQLFJw/9FudXzzelQgY+Ycigx8v0qZXD87VJ3+SP
+wkpRllYyIrnfXVPZRZ0lwocPCce9rJxjF2tckSzd5VmpG/QSK0rNUctC5UQHZ6Z
aODyvAJqTU9ongidzE6M54ALOd05t+9FgVcWfrlAfIksgdv6pLMWDGKZMz+NHBEa
u21oTc7fHThVSL3ccz1UAvNFH0KI/SXL6HKhEVX5Kq+d5UaIDoih+KeePHQh5hE6
8TduJ00eNAnt6nQ1uRPxqscDJ8L/2vv1P2PVYwfec5s5c09T8A0RDsEm1Pm7T7z4
pHuYXeSCGQVek/ZZdCBm4MO9AK7clyhsWB58D2XsxUewecKeWnWhRXLTQ6P/cdJE
9NXzC4pYF9y8wHABRpXSFaCi40LM+qwrJtZHgvFCO5e5c/wponso2zKEUXd2fQjz
DSPS8E3FpqT36j5MlC13mvkd9FJh0VMJ66aTvQkO6/AlYND4U3eulrfvq3RlEA2a
05lTyl60G26+83DX+kwK6dXonBM6CzKOrkQLESjG+f9ij1G6z8yZMSrydkHX4Ui+
w6bWnNRkLVGjxl9lm5xjh/UDQNqBGyex/BEZgBx+KE3XU4rU3hEuJZ1gUebfgEOv
RwmtYkj7BmYquOyHX34r1QPIf6uqqd2zGqbgC+Jm0peNmQ46Zhp3RhEUFBc4mcAL
kDMAR92qHtU=
=qCHy
-----END PGP SIGNATURE-----