From owner-freebsd-announce Mon May 18 10:41:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA23040 for freebsd-announce-outgoing; Mon, 18 May 1998 10:41:22 -0700 (PDT) (envelope-from owner-freebsd-announce@FreeBSD.ORG) Received: from gvr.gvr.org (guido@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA22946; Mon, 18 May 1998 10:40:45 -0700 (PDT) (envelope-from security-officer@freebsd.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.8/8.8.5) id TAA07658; Mon, 18 May 1998 19:40:41 +0200 (MET DST) Date: Mon, 18 May 1998 19:40:41 +0200 (MET DST) Message-Id: <199805181740.TAA07658@gvr.gvr.org> From: FreeBSD Security Officer To: undisclosed-recipients:; Subject: FreeBSD Security Advisory: FreeBSD-SA-98:03.ttcp REVISED Sender: owner-freebsd-announce@FreeBSD.ORG Precedence: bulk Reply-To: postmaster@FreeBSD.ORG X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- WARNING: The patch given in the original advisory had an error. You should apply the patch in this advisory. In order to do so, you should have the original file. If you do no longer have the original, look at ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-98:03/ttcp.orig It contains the original patch. You should then apply it first using patch with the -R option. We're sorry for any inconvenience this may cause. This advisory also contains a valid patch for FreeBSD 2.1.* versions. ============================================================================= FreeBSD-SA-98:03 Security Advisory FreeBSD, Inc. Topic: Problems with TTCP Category: core Module: kernel Announced: 1998-05-14, revised at 1998-05-18 Affects: FreeBSD 2.1.* FreeBSD 2.2.*, FreeBSD-2.2-stable before 1998/05/14 and FreeBSD-3.0-current before 1998/05/05 suffer from this problem. Corrected: FreeBSD-3.0-current as of 1998/05/14 FreeBSD-2.2-stable as of 1998/05/05 FreeBSD-2.1-stable as of 1998/05/18 FreeBSD only: No. Any other system incorporating TTCP extentions may be affected. Patches: ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-98:03/ I. Background RFC 1644 provides an extension to TCP called TCP Extensions for Transactions, or shortly T/TCP. It provides a way of bypassing the standard three-way handshake found in TCP, thus speeding up transactions. T/TCP has been incorporated in FreeBSD since FreeBSD 2.0.5. II. Problem Description An accelerated open is initiated by a client by sending a new TCP option, called CC, to the server. The kernel keeps a special cache for each host it communicated with, among others containing the value of the last CC option used by the client. A new accelerated open is allowed when the CC sent is larger than the one in the per-host cache. Thus one can spoof complete connections. III. Impact The hole can be used to obtain unauthorized acces to the system by spoofing connections to the r*-services. This can only be done in the case where an .rhost file and/or a host.equiv file is used as the sole method of authentication. IV. Workaround Disable all r-* services. Note that setting the kernel variable net.inet.tcp.rfc1644 to 0 does not solve the problem. This variable controls whether the system will initiate rfc1644 based connections and does not affect the ability to receive such connections. V. Solution Apply the following patch, rebuild your kernel, install it and reboot your system. The patch is valid for 2.1.* systems, for 2.1-stable, for 2.2.* systems, for 2.2-stable and for 3.0-current. The patch below can be found on ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-98:03/ Index: tcp_input.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/tcp_input.c,v retrieving revision 1.74 retrieving revision 1.77 diff -u -r1.74 -r1.77 --- tcp_input.c 1998/04/24 10:08:57 1.74 +++ tcp_input.c 1998/05/18 17:11:24 1.77 @@ -680,7 +680,9 @@ * - otherwise do a normal 3-way handshake. */ if ((to.to_flag & TOF_CC) != 0) { - if (taop->tao_cc != 0 && CC_GT(to.to_cc, taop->tao_cc)) { + if (((tp->t_flags & TF_NOPUSH) != 0) && + taop->tao_cc != 0 && CC_GT(to.to_cc, taop->tao_cc)) { + taop->tao_cc = to.to_cc; tp->t_state = TCPS_ESTABLISHED; ============================================================================= FreeBSD, Inc. Web Site: http://www.freebsd.org/ Confidential contacts: security-officer@freebsd.org Security notifications: security-notifications@freebsd.org Security public discussion: freebsd-security@freebsd.org PGP Key: ftp://ftp.freebsd.org/pub/FreeBSD/CERT/public_key.asc Notice: Any patches in this document may not apply cleanly due to modifications caused by digital signature or mailer software. Please reference the URL listed at the top of this document for original copies of all patches if necessary. ========================================================================= -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBNWBwolUuHi5z0oilAQFXGwP9FhHKXkdktCGBQ3cfP4pHBmDHGFPwFL/E zcF05EFSxKR8Fw62b9zQw9vws1FN9L0ZXJjxVAFx7umSYnYqPrxFBgzzLs1Brfbh G4c+br73C9RsN6yyTo6Am7TxBiCFtRfneS91jZQGpNfZcFWx84oy5hhmTLXaaJK7 qIdrquhtTSo= =qxDF -----END PGP SIGNATURE----- This is the moderated mailing list freebsd-announce. The list contains announcements of new FreeBSD capabilities, important events and project milestones. See also the FreeBSD Web pages at http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-announce" in the body of the message From owner-freebsd-announce Thu May 21 12:22:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA07694 for freebsd-announce-outgoing; Thu, 21 May 1998 12:22:12 -0700 (PDT) (envelope-from owner-freebsd-announce@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA07636 for freebsd-announce; Thu, 21 May 1998 12:22:05 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199805211922.MAA07636@hub.freebsd.org> Subject: NEW mailing list "Small & Embedded FreeBSD" To: freebsd-announce Date: Thu, 21 May 1998 12:22:04 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-announce@FreeBSD.ORG Precedence: bulk Reply-To: postmaster@FreeBSD.ORG X-Loop: FreeBSD.org Andrzej Bialecki says it well: ----- Forwarded message from Andrzej Bialecki ----- Hello, I'm pleased to announce that a new mailing list has been created: you can join it by sending "subscribe freebsd-small" to majordomo@freebsd.org. This list discusses topics related to unusually small and embedded FreeBSD installations. I hope we will share ideas on: * booting process and devices (various filesystems, flash RAM, EEPROM etc...), * available and recommended hardware, * special hardware (peripherals such as probes, relays, readers, step motors etc, etc), and support for it, * details of (necessarily different) setup and configuration, * user applications (shall we say: router? :) and real-life applications, * special setups such as PicoBSD, * and many others. I'm also willing to maintain WWW pages related to these topics. I know some of you have some experience in this area, and I encourage you to submit ideas and pointers. There are already a few things I've been collecting for some time... Please see http://www.freebsd.org/~abial for these. Andrzej Bialecki ---- to subscribe to a FreeBSD mailing list, send mail to majordomo@FreeBSD.org containing the single line "subscribe ". replace by the name of the list you want to subscribe to. for example: echo "subscribe freebsd-small" | mail majordomo@FreeBSD.org to unsubscribe use: echo "unsubscribe freebsd-small" | mail majordomo@FreeBSD.org you will be asked, via email, to confirm your subscription request via email. after confirming your subscription request, you will receive notification, via email, that your subscription has been accepted. jmb This is the moderated mailing list freebsd-announce. The list contains announcements of new FreeBSD capabilities, important events and project milestones. See also the FreeBSD Web pages at http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-announce" in the body of the message From owner-freebsd-announce Sat May 23 13:25:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA27129 for freebsd-announce-outgoing; Sat, 23 May 1998 13:25:51 -0700 (PDT) (envelope-from owner-freebsd-announce@FreeBSD.ORG) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA27122 for ; Sat, 23 May 1998 13:25:48 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id NAA13436 for ; Sat, 23 May 1998 13:26:12 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: announce@FreeBSD.ORG Subject: Issue #2 of the FreeBSD Newsletter is now available. Date: Sat, 23 May 1998 13:26:12 -0700 Message-ID: <13432.895955172@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-announce@FreeBSD.ORG Precedence: bulk Reply-To: postmaster@FreeBSD.ORG X-Loop: FreeBSD.org I'm very pleased to announce that we've just finished the second issue of the FreeBSD newsletter, a quarterly publication currently being released annually, and have made it available for downloading (and yes, we're working on making the production process go just a bit faster for future issues so that we can actually BE a quarterly publication). Please see: ftp://ftp.freebsd.org/pub/FreeBSD/newsletter/issue2.pdf For an Adobe PDF file of this issue. If you're not sure how to read PDF files, please see the README file in the same directory. Those who have registered for paper versions will receive them sometime in the next couple of weeks - it takes us a while to print and mail 40,000 copies of this thing. Many thanks also to those who contributed articles to this issue and, in some cases where we simply ran out of space, the next one. Enjoy, - Jordan This is the moderated mailing list freebsd-announce. The list contains announcements of new FreeBSD capabilities, important events and project milestones. See also the FreeBSD Web pages at http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-announce" in the body of the message