From owner-freebsd-announce@FreeBSD.ORG Sun Mar 30 13:21:06 2003 Return-Path: Delivered-To: freebsd-announce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D725837B401; Sun, 30 Mar 2003 13:21:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51B9043FB1; Sun, 30 Mar 2003 13:21:04 -0800 (PST) (envelope-from security-advisories@freebsd.org) Received: from freefall.freebsd.org (nectar@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2ULL4NS023132; Sun, 30 Mar 2003 13:21:04 -0800 (PST) (envelope-from security-advisories@freebsd.org) Received: (from nectar@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2ULL454023130; Sun, 30 Mar 2003 13:21:04 -0800 (PST) Date: Sun, 30 Mar 2003 13:21:04 -0800 (PST) Message-Id: <200303302121.h2ULL454023130@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: nectar set sender to security-advisories@freebsd.org using -f From: FreeBSD Security Advisories To: FreeBSD Security Advisories Precedence: bulk X-Mailman-Approved-At: Sun, 30 Mar 2003 13:26:25 -0800 Subject: [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-03:07.sendmail X-BeenThere: freebsd-announce@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: security-advisories@freebsd.org List-Id: Project Announcements [moderated] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 21:21:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ============================================================================= FreeBSD-SA-03:07.sendmail Security Advisory The FreeBSD Project Topic: a second sendmail header parsing buffer overflow Category: contrib Module: contrib_sendmail Announced: 2003-03-30 Credits: Michal Zalewski Affects: All releases prior to 4.8-RELEASE and 5.0-RELEASE-p7 FreeBSD 4-STABLE prior to the correction date Corrected: 2003-03-29 19:34:13 UTC (RELENG_4) 2003-03-29 21:58:11 UTC (RELENG_5_0) 2003-03-29 21:58:05 UTC (RELENG_4_7) 2003-03-29 21:57:58 UTC (RELENG_4_6) 2003-03-29 21:57:52 UTC (RELENG_4_5) 2003-03-29 21:57:45 UTC (RELENG_4_4) 2003-03-29 21:57:36 UTC (RELENG_4_3) 2003-03-29 20:09:48 UTC (RELENG_3) FreeBSD only: NO I. Background FreeBSD includes sendmail(8), a general purpose internetwork mail routing facility, as the default Mail Transfer Agent (MTA). II. Problem Description A buffer overflow that may occur during header parsing was identified. The overflow is possible due to a programming error involving type conversions in the C programming language. NOTE WELL: This issue is distinct from the issue described in `FreeBSD-SA-03:04.sendmail', although the impact is very similar. III. Impact A remote attacker could create a specially crafted message that may cause sendmail to execute arbitrary code with the privileges of the user running sendmail, typically root. The malicious message might be handled (and the vulnerability triggered) by the initial sendmail MTA, by any relaying sendmail MTA, or by the delivering sendmail process. Exploiting this defect is particularly difficult, but is believed to be possible. The defect in the ident routines is not believed to be exploitable. IV. Workaround There is no workaround, other than not using sendmail. V. Solution Do one of the following: 1) Upgrade your vulnerable system to 4-STABLE or 4.8-RELEASE; or to the RELENG_5_0, RELENG_4_7, or RELENG_4_6 security branch dated after the correction date (5.0-RELEASE-p7, 4.7-RELEASE-p10, or 4.6.2-RELEASE-p13, respectively). 2) To patch your present system: The following patch has been verified to apply to FreeBSD 5.0, 4.7, and 4.6 systems. a) Download the relevant patch from the location below, and verify the detached PGP signature using your PGP utility. ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail.patch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail.patch.asc b) Execute the following commands as root: # cd /usr/src # patch < /path/to/patch # cd /usr/src/lib/libsm # make obj && make depend && make # cd /usr/src/lib/libsmutil # make obj && make depend && make # cd /usr/src/usr.sbin/sendmail # make obj && make depend && make && make install c) Restart sendmail. Execute the following command as root. # /bin/sh /etc/rc.sendmail restart 3) For i386 systems only, a patched sendmail binary is available. Select the correct binary based on your FreeBSD version and whether or not you want STARTTLS support. If you want STARTTLS support, you must have the crypto distribution installed. a) Download the relevant binary from the location below, and verify the detached PGP signature using your PGP utility. ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-4.6-i386-crypto.bin.gz ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-4.6-i386-crypto.bin.gz.asc ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-4.6-i386-nocrypto.bin.gz ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-4.6-i386-nocrypto.bin.gz.asc ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-4.7-i386-crypto.bin.gz ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-4.7-i386-crypto.bin.gz.asc ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-4.7-i386-nocrypto.bin.gz ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-4.7-i386-nocrypto.bin.gz.asc ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-5.0-i386-crypto.bin.gz ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-5.0-i386-crypto.bin.gz.asc ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-5.0-i386-nocrypto.bin.gz ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:07/sendmail-5.0-i386-nocrypto.bin.gz.asc b) Install the binary. Execute the following commands as root. Note that these examples utilizes the FreeBSD 4.7 crypto binary. Substitute BINARYGZ with the name of the file which you downloaded in step (a). # BINARYGZ=/path/to/sendmail-4.7-i386-crypto.bin.gz # gunzip ${BINARYGZ} # install -s -o root -g smmsp -m 2555 ${BINARYGZ%.gz} /usr/libexec/sendmail/sendmail c) Restart sendmail. Execute the following command as root. # /bin/sh /etc/rc.sendmail restart VI. Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Branch Revision Path - ------------------------------------------------------------------------- RELENG_4 src/contrib/sendmail/FREEBSD-upgrade 1.1.2.16 src/contrib/sendmail/RELEASE_NOTES 1.1.1.3.2.15 src/contrib/sendmail/cf/README 1.1.1.3.2.15 src/contrib/sendmail/cf/cf/submit.cf 1.1.1.1.2.8 src/contrib/sendmail/cf/m4/cfhead.m4 1.3.6.8 src/contrib/sendmail/cf/m4/proto.m4 1.1.1.4.2.13 src/contrib/sendmail/cf/m4/version.m4 1.1.1.3.2.15 src/contrib/sendmail/cf/mailer/usenet.m4 1.1.1.2.6.3 src/contrib/sendmail/contrib/buildvirtuser 1.1.1.1.2.5 src/contrib/sendmail/doc/op/op.me 1.1.1.3.2.15 src/contrib/sendmail/editmap/editmap.8 1.1.1.1.2.2 src/contrib/sendmail/include/sm/bdb.h 1.1.1.1.2.2 src/contrib/sendmail/include/sm/conf.h 1.1.1.1.2.7 src/contrib/sendmail/libmilter/docs/api.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/design.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/index.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/installation.html 1.1.1.1.2.3 src/contrib/sendmail/libmilter/docs/other.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/overview.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/sample.html 1.1.1.1.2.3 src/contrib/sendmail/libmilter/docs/smfi_addheader.html 1.1.1.1.2.3 src/contrib/sendmail/libmilter/docs/smfi_addrcpt.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_chgheader.html 1.1.1.1.2.3 src/contrib/sendmail/libmilter/docs/smfi_delrcpt.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_getpriv.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_getsymval.html 1.1.1.1.2.3 src/contrib/sendmail/libmilter/docs/smfi_main.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_register.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_replacebody.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_setbacklog.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_setconn.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_setpriv.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/smfi_setreply.html 1.1.1.1.2.4 src/contrib/sendmail/libmilter/docs/smfi_settimeout.html 1.1.1.1.2.3 src/contrib/sendmail/libmilter/docs/xxfi_abort.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_body.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_close.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_connect.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_envfrom.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_envrcpt.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_eoh.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_eom.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_header.html 1.1.1.1.2.2 src/contrib/sendmail/libmilter/docs/xxfi_helo.html 1.1.1.1.2.2 src/contrib/sendmail/libsm/clock.c 1.1.1.1.2.5 src/contrib/sendmail/libsm/config.c 1.1.1.1.2.3 src/contrib/sendmail/mail.local/mail.local.c 1.6.6.14 src/contrib/sendmail/src/README 1.1.1.3.2.14 src/contrib/sendmail/src/collect.c 1.1.1.4.2.12 src/contrib/sendmail/src/conf.c 1.5.2.14 src/contrib/sendmail/src/deliver.c 1.1.1.3.2.14 src/contrib/sendmail/src/headers.c 1.4.2.10 src/contrib/sendmail/src/main.c 1.1.1.3.2.15 src/contrib/sendmail/src/milter.c 1.1.1.1.2.16 src/contrib/sendmail/src/parseaddr.c 1.1.1.2.6.13 src/contrib/sendmail/src/queue.c 1.1.1.3.2.14 src/contrib/sendmail/src/readcf.c 1.1.1.4.2.14 src/contrib/sendmail/src/sendmail.h 1.1.1.4.2.15 src/contrib/sendmail/src/sm_resolve.c 1.1.1.1.2.3 src/contrib/sendmail/src/srvrsmtp.c 1.1.1.2.6.14 src/contrib/sendmail/src/tls.c 1.1.1.1.2.5 src/contrib/sendmail/src/usersmtp.c 1.1.1.3.2.12 src/contrib/sendmail/src/version.c 1.1.1.3.2.15 RELENG_5_0 src/UPDATING 1.229.2.13 src/contrib/sendmail/src/conf.c 1.18.2.1 src/contrib/sendmail/src/parseaddr.c 1.1.1.14.2.2 src/contrib/sendmail/src/version.c 1.1.1.16.2.1 src/sys/conf/newvers.sh 1.48.2.8 RELENG_4_7 src/UPDATING 1.73.2.74.2.13 src/contrib/sendmail/src/conf.c 1.5.2.11.2.1 src/contrib/sendmail/src/parseaddr.c 1.1.1.2.6.10.2.2 src/contrib/sendmail/src/version.c 1.1.1.3.2.12.2.1 src/sys/conf/newvers.sh 1.44.2.26.2.12 RELENG_4_6 src/UPDATING 1.73.2.68.2.41 src/contrib/sendmail/src/conf.c 1.5.2.8.2.1 src/contrib/sendmail/src/parseaddr.c 1.1.1.2.6.8.2.2 src/contrib/sendmail/src/version.c 1.1.1.3.2.9.2.1 src/sys/conf/newvers.sh 1.44.2.23.2.30 RELENG_4_5 src/UPDATING 1.73.2.50.2.43 src/contrib/sendmail/src/conf.c 1.5.2.6.4.1 src/contrib/sendmail/src/parseaddr.c 1.1.1.2.6.6.4.2 src/contrib/sendmail/src/version.c 1.1.1.3.2.7.4.1 src/sys/conf/newvers.sh 1.44.2.20.2.27 RELENG_4_4 src/UPDATING 1.73.2.43.2.43 src/contrib/sendmail/src/conf.c 1.5.2.6.2.1 src/contrib/sendmail/src/parseaddr.c 1.1.1.2.6.6.2.2 src/contrib/sendmail/src/version.c 1.1.1.3.2.7.2.1 src/sys/conf/newvers.sh 1.44.2.17.2.34 RELENG_4_3 src/UPDATING 1.73.2.28.2.31 src/contrib/sendmail/src/conf.c 1.5.2.4.2.1 src/contrib/sendmail/src/parseaddr.c 1.1.1.2.6.4.2.2 src/contrib/sendmail/src/version.c 1.1.1.3.2.4.2.1 src/sys/conf/newvers.sh 1.44.2.14.2.21 RELENG_3 src/contrib/sendmail/src/conf.c 1.3.2.3 src/contrib/sendmail/src/parseaddr.c 1.1.1.2.2.2 src/contrib/sendmail/src/version.c 1.1.1.2.2.2 - ------------------------------------------------------------------------- VII. References -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+h18lFdaIBMps37IRAg7lAJ9hJLEHlLsXV9Nq20Yw3E3470ZqdQCfX1Sv BBClV+coK1zwzq/zWcfejME= =eDvb -----END PGP SIGNATURE----- From owner-freebsd-announce@FreeBSD.ORG Thu Apr 3 21:43:10 2003 Return-Path: Delivered-To: freebsd-announce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BA0737B401 for ; Thu, 3 Apr 2003 21:43:10 -0800 (PST) Received: from builder.freebsdmall.com (builder.freebsdmall.com [65.86.180.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C507543FBD for ; Thu, 3 Apr 2003 21:43:09 -0800 (PST) (envelope-from murray@builder.freebsdmall.com) Received: (from root@localhost) by builder.freebsdmall.com (8.12.8/8.11.6) id h345h96u017288 for announce@FreeBSD.org; Thu, 3 Apr 2003 21:43:09 -0800 (PST) (envelope-from murray) Date: Thu, 3 Apr 2003 21:43:09 -0800 From: Murray Stokely To: announce@FreeBSD.org Message-ID: <20030403214309.Y43794@freebsdmall.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D X-Mailman-Approved-At: Thu, 03 Apr 2003 21:52:19 -0800 Subject: [FreeBSD-Announce] FreeBSD 4.8 Now Available X-BeenThere: freebsd-announce@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Project Announcements [moderated] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 05:43:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am happy to announce the availability of FreeBSD 4.8-RELEASE, the latest release of the FreeBSD -STABLE development branch. Since FreeBSD 4.7-RELEASE in October 2002, we have made conservative updates to a number of software programs in the base system, dealt with known security issues, and added initial support for Firewire, HyperThreading, and other new hardware technologies. For a complete list of new features and known problems, please see the release notes and errata list, available here: http://www.FreeBSD.org/releases/4.8R/relnotes.html http://www.FreeBSD.org/releases/4.8R/errata.html This release does not include all of the new technologies that were introduced with FreeBSD 5.0 in January. FreeBSD 4.X releases offer a more conservative platform than FreeBSD 5.0 at this time. For more information about the distinctions between FreeBSD 4.X and 5.0, or for general information about the FreeBSD release engineering activities, please see : http://www.FreeBSD.org/releng/ Availability - ------------ FreeBSD 4.8-RELEASE supports the i386 and alpha architectures and can be installed directly over the net using the boot floppies or copied to a local NFS/FTP server. Distributions for the i386 are available now. As of this writing, the final builds for the alpha architecture are in progress and will be made available shortly. Please continue to support the FreeBSD Project by purchasing media from one of our supporting vendors. The following companies have contributed substantially to the development of FreeBSD: FreeBSD Mall, Inc. http://www.freebsdmall.com/ Daemonnews, Inc. http://www.bsdmall.com/freebsd1.html Each CD or DVD set contains the FreeBSD installation and application package bits for the i386 ("PC") architecture. For a set of distfiles used to build ports in the ports collection, please see the FreeBSD Toolkit, a 6 CD set containing extra bits which no longer fit on the 4 CD set, or the DVD distribution. If you can't afford FreeBSD on media, or just want to use it for evangelism purposes, then by all means download the ISO images. We can't promise that all the mirror sites will carry the larger ISO images, but they will at least be available from: ftp.FreeBSD.org ftp12.FreeBSD.org ftp14.FreeBSD.org ftp.au.FreeBSD.org ftp.es.FreeBSD.org ftp2.de.FreeBSD.org ftp4.de.FreeBSD.org ftp7.de.FreeBSD.org ftp.tw.FreeBSD.org ftp6.tw.FreeBSD.org FreeBSD is also available via anonymous FTP from mirror sites in the following countries: Argentina, Australia, Brazil, Bulgaria, Canada, China, Czech Republic, Denmark, Estonia, Finland, France, Germany, Hong Kong, Hungary, Iceland, Ireland, Japan, Korea, Lithuania, the Netherlands, New Zealand, Poland, Portugal, Romania, Russia, Saudi Arabia, South Africa, Slovak Republic, Slovenia, Spain, Sweden, Taiwan, Thailand, Ukraine, and the United Kingdom. Before trying the central FTP site, please check your regional mirror(s) first by going to: ftp://ftp..FreeBSD.org/pub/FreeBSD Any additional mirror sites will be labeled ftp2, ftp3 and so on. More information about FreeBSD mirror sites can be found at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html For instructions on installing FreeBSD, please see Chapter 2 of The FreeBSD Handbook. It provides a complete installation walk-through for users new to FreeBSD, and can be found online at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/install.html Acknowledgments - --------------- Many companies donated equipment, network access, or man-hours to finance the release engineering activities for FreeBSD 4.8 including The FreeBSD Mall, Compaq, Yahoo!, Sentex Communications, and NTT/Verio. In addition to myself, the release engineering team for 4.8-RELEASE includes: Scott Long Release Engineering Bruce A. Mah Release Engineering, Documentation Robert Watson Release Engineering, Security Wilko Bulte Release Engineering, Alpha arch David O'Brien Release Engineering, Alpha arch John Baldwin Release Engineering Ruslan Ermilov Release Engineering Kris Kennaway Package Building Will Andrews Package Building, KDE Jacques A. Vidrine Security Officer Joe Marcus Clarke GNOME Integration Julian Elischer Release Testing Please join me in thanking them for all the hard work which went into making this release. Many thanks are also due to the FreeBSD committers (committers@FreeBSD.org), without whom there would be nothing to release, and thousands of FreeBSD users world-wide who have contributed bug fixes, features, and suggestions. Enjoy! Murray Stokely (For the FreeBSD Release Engineering Team) -----BEGIN PGP SIGNATURE----- iD8DBQE+jRqatNcQog5FH30RAuLUAKCxKfoRyBbqwm4QYIkLq+xZkCupqQCgvjFp aLZzPDweEFXkcoVMgviWcU8= =Jw+z -----END PGP SIGNATURE-----