From owner-freebsd-security@FreeBSD.ORG Tue Oct 4 22:09:45 2011 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8A3B1065678 for ; Tue, 4 Oct 2011 22:09:45 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 51ADA8FC1E for ; Tue, 4 Oct 2011 22:09:45 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p94M9feK018980 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 4 Oct 2011 23:09:42 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p94M9feK018980 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1317766182; bh=zel+krFq1Pqwv217ZbMP07g32KnU5LScOj7dtmT0+cE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4E8B841E.8000406@infracaninophile.co.uk>|Date:=20T ue,=2004=20Oct=202011=2023:09:34=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:7.0.1)=20Gecko/2 0110929=20Thunderbird/7.0.1|MIME-Version:=201.0|To:=20Mark=20Dulle r=20|CC:=20freebsd-security@freebsd.org |Subject:=20Re:=20FreeBSD=20Security=20Advisory=20FreeBSD-SA-11:05 .unix=20[REVISED]|References:=20<201110041915.p94JFgpT092868@freef all.freebsd.org>=20<4E8B6EBF.4060308@oucs.ox.ac.uk>|In-Reply-To:=2 0<4E8B6EBF.4060308@oucs.ox.ac.uk>|X-Enigmail-Version:=201.3.2|Open PGP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20micalg= 3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D =0A=20boundary=3D"------------enigF858F74B77284BCA0D98A3AE"; b=oN/nGmBiiGTR/xAIoXgqnGb5SIRdIeHKaqzeEt224z1/x5b7x5TpyJuU23xlPXXbN g6h4SdHnOaR/a8sMduaN9pvguKwnx/s6fmlYxm7YvJ1bEnn3IdFa1SoXvm+DZ7SnJV /+/jnAC/NgeUgJoN/cCLYkPWKO7Rz0uTSpXw6vb0= Message-ID: <4E8B841E.8000406@infracaninophile.co.uk> Date: Tue, 04 Oct 2011 23:09:34 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Mark Duller References: <201110041915.p94JFgpT092868@freefall.freebsd.org> <4E8B6EBF.4060308@oucs.ox.ac.uk> In-Reply-To: <4E8B6EBF.4060308@oucs.ox.ac.uk> X-Enigmail-Version: 1.3.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF858F74B77284BCA0D98A3AE" X-Virus-Scanned: clamav-milter 0.97.2 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-security@freebsd.org Subject: Re: FreeBSD Security Advisory FreeBSD-SA-11:05.unix [REVISED] X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2011 22:09:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF858F74B77284BCA0D98A3AE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/10/2011 21:38, Mark Duller wrote: > On 10/04/11 20:15, FreeBSD Security Advisories wrote: >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >> > >> >=20 > FreeBSD-SA-11:05.unix Security > Advisory >> > The FreeBSD Project >> >=20 >> > Topic: Buffer overflow in handling of UNIX socket >> > addresses >> >=20 >> > Category: core Module: kern Announced: >> > 2011-09-28 Credits: Mateusz Guzik Affects: All >> > supported versions of FreeBSD. > >> > IV. Workaround >> >=20 >> > No workaround is available, but systems without untrusted local >> > users are not vulnerable. > Does this affect a default FreeBSD install? I believe linux emulation > support is disabled by default? Ish. Sort of. The default system contains the linux.ko loadable module which is not loaded by default, but would be caused to automatically load into the kernel by installing one of the linux_base ports. Nothing needs to be re-compiled in order to enable linux compat, and it doesn't even require a reboot, but it does require root privileges to kldload the module. The underlying unix domain socket vulnerability affected all released and development versions of FreeBSD up to the point where the advisory was first issued. If you'ld applied the patches from the original advisory then you should already be secure. If your system definitely doesn't run any linux binaries and never will do, then the additional bits in the revised patch won't do anything for you. However, without the additional changes any linux applications that try to use unix domain sockets will crash. This doesn't result in any additional security exposure, but it certainly won't endear your users to you. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigF858F74B77284BCA0D98A3AE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6LhCUACgkQ8Mjk52CukIx/3ACglRST1+YFsWlzuSKWkZm+IC/X 8nwAn1Be5XpGEmOmhklAF/wpy99BhBJ1 =Pqp7 -----END PGP SIGNATURE----- --------------enigF858F74B77284BCA0D98A3AE--