From owner-freebsd-ports Wed Jun 28 11:20:15 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B8C6E37C0E7 for ; Wed, 28 Jun 2000 11:20:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA96580; Wed, 28 Jun 2000 11:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id 3705D37BB6F for ; Wed, 28 Jun 2000 11:18:19 -0700 (PDT) (envelope-from dinoex@net2.dinoex.sub.org) Received: (from dinoex@localhost) by net2.dinoex.sub.org (8.10.1/8.10.1) id e5SII8C02139; Wed, 28 Jun 2000 20:18:08 +0200 (CEST) (envelope-from dinoex) Message-Id: <200006281818.e5SII8C02139@net2.dinoex.sub.org> Date: Wed, 28 Jun 2000 20:18:08 +0200 (CEST) From: dirk.meyer@dinoex.sub.org Reply-To: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19563: ports/wu-ftpd fix root exploit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19563 >Category: ports >Synopsis: ports/wu-ftpd fix root exploit >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 28 11:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 4.0-STABLE i386 >Organization: privat >Environment: FreeBSD all versions, wu-ftpd 2.6 >Description: -----BEGIN PGP SIGNED MESSAGE----- ______________________________________________________________________________ SuSE Security Announcement Package: wuftpd < 2.6.0-121 Date: Tue Jun 27 17:57:51 MEST 2000 Affected SuSE versions: 6.1-6.4 Vulnerability Type: remote root compromise SuSE default package: no Other affected systems: all unix systems using this package ______________________________________________________________________________ A security hole was discovered in the package mentioned above. Please update it as soon as possible or disable the service if you are using this software on your SuSE Linux installation(s). Other Linux distributions or operating systems might be affected as well, please contact your vendor for information about this issue. Please note that we provide this information on an "as-is" basis only. There is no warranty whatsoever and no liability for any direct, indirect or incidental damage arising from this information or the installation of the update package. _____________________________________________________________________________ 1. Problem Description The wu-ftp FTP server does not do proper bounds checking while processing the SITE EXEC command. 2. Impact An remote attacker could execute arbitrary machine code as root on a FTP server using wu-ftpd. This bug could only be exploited if anonymous access to the FTP server is allowed. 3. Solution We recommend using our audited 2.4er version of wu-ftpd. Update the package from our FTP server. ______________________________________________________________________________ Please verify these md5 checksums of the updates before installing: (For SuSE 6.0, please use the 6.1 updates) AXP: 634be5f377d4dfecb8f3456f3746860f ftp://ftp.suse.com/pub/suse/axp/update/6.1/n1/wuftpd-2.6.0-121.alpha.rpm 6adbc81c16569aa53bd48994a290127a ftp://ftp.suse.com/pub/suse/axp/update/6.3/n1/wuftpd-2.6.0-121.alpha.rpm 79e4b044ad8ef19497ce3a21c6f3a187 ftp://ftp.suse.com/pub/suse/axp/update/6.4/n1/wuftpd-2.6.0-121.alpha.rpm i386: b9f3877a600c770f73ee0478e069af82 ftp://ftp.suse.com/pub/suse/i386/update/6.1/n1/wuftpd-2.6.0-122.i386.rpm 453da7bf608d24ac87b19ef71c504fff ftp://ftp.suse.com/pub/suse/i386/update/6.2/n1/wuftpd-2.6.0-121.i386.rpm 1b8add24db4fb897ffdf8aea836f74c2 ftp://ftp.suse.com/pub/suse/i386/update/6.3/n1/wuftpd-2.6.0-121.i386.rpm 98720fa1385aa22f6ec53b4175a35be5 ftp://ftp.suse.com/pub/suse/i386/update/6.4/n1/wuftpd-2.6.0-122.i386.rpm PPC: d54e0c3a877a5414eb7b274ef77b9bc6 ftp://ftp.suse.com/pub/suse/ppc/update/6.4/n1/wuftpd-2.6.0-121.ppc.rpm ______________________________________________________________________________ You can find updates on our ftp-Server: ftp://ftp.suse.com/pub/suse/i386/update for Intel processors ftp://ftp.suse.com/pub/suse/axp/update for Alpha processors or try the following web pages for a list of mirrors: http://www.suse.de/ftp.html http://www.suse.com/ftp_new.html Our webpage for patches: http://www.suse.de/patches/index.html Our webpage for security announcements: http://www.suse.de/security If you want to report vulnerabilities, please contact security@suse.de ______________________________________________________________________________ SuSE has got two free security mailing list services to which any interested party may subscribe: suse-security@suse.com - moderated and for general/linux/SuSE security discussions. All SuSE security announcements are sent to this list. suse-security-announce@suse.com - SuSE's announce-only mailing list. Only SuSE's security annoucements are sent to this list. To subscribe to the list, send a message to: To remove your address from the list, send a message to: Send mail to the following for info and FAQ for this list: _____________________________________________________________________________ This information is provided freely to everyone interested and may be redistributed provided that it is not altered in any way. Type Bits/KeyID Date User ID pub 2048/3D25D3D9 1999/03/06 SuSE Security Team - ------BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3i mQENAzbhLQQAAAEIAKAkXHe0lWRBXLpn38hMHy03F0I4Sszmoc8aaKJrhfhyMlOA BqvklPLE2f9UrI4Xc860gH79ZREwAgPt0pi6+SleNFLNcNFAuuHMLQOOsaMFatbz JR9i4m/lf6q929YROu5zB48rBAlcfTm+IBbijaEdnqpwGib45wE/Cfy6FAttBHQh 1Kp+r/jPbf1mYAvljUfHKuvbg8t2EIQz/5yGp+n5trn9pElfQO2cRBq8LFpf1l+U P7EKjFmlOq+Gs/fF98/dP3DfniSd78LQPq5vp8RL8nr/o2i7jkAQ33m4f1wOBWd+ cZovrKXYlXiR+Bf7m2hpZo+/sAzhd7LmAD0l09kABRG0JVN1U0UgU2VjdXJpdHkg VGVhbSA8c2VjdXJpdHlAc3VzZS5kZT6JARUDBRA24S1H5Fiyh7HKPEUBAVcOB/9b yHYji1/+4Xc2GhvXK0FSJN0MGgeXgW47yxDL7gmR4mNgjlIOUHZj0PEpVjWepOJ7 tQS3L9oP6cpj1Fj/XxuLbkp5VCQ61hpt54coQAvYrnT9rtWEGN+xmwejT1WmYmDJ xG+EGBXKr+XP69oIUl1E2JO3rXeklulgjqRKos4cdXKgyjWZ7CP9V9daRXDtje63 Om8gwSdU/nCvhdRIWp/Vwbf7Ia8iZr9OJ5YuQl0DBG4qmGDDrvImgPAFkYFzwlqo choXFQ9y0YVCV41DnR+GYhwl2qBd81T8aXhihEGPIgaw3g8gd8B5o6mPVgl+nJqI BkEYGBusiag2pS6qwznZiQEVAwUQNuEtBHey5gA9JdPZAQFtOAf+KVh939b0J94u v/kpg4xs1LthlhquhbHcKNoVTNspugiC3qMPyvSX4XcBr2PC0cVkS4Z9PY9iCfT+ x9WM96g39dAF+le2CCx7XISk9XXJ4ApEy5g4AuK7NYgAJd39PPbERgWnxjxir9g0 Ix30dS30bW39D+3NPU5Ho9TD/B7UDFvYT5AWHl3MGwo3a1RhTs6sfgL7yQ3U+mvq MkTExZb5mfN1FeaYKMopoI4VpzNVeGxQWIz67VjJHVyUlF20ekOz4kWVgsxkc8G2 saqZd6yv2EwqYTi8BDAduweP33KrQc4KDDommQNDOXxaKOeCoESIdM4p7Esdjq1o L0oixF12Cg== =pIeS - ------END PGP PUBLIC KEY BLOCK----- -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQEVAwUBOVjV13ey5gA9JdPZAQFDZgf+KXAES5NnGyD/q+3D/VnYEEE5aA9xHSEO 6Hz2VeWJkFRfEteQ3XRnp6/NeIulJiBTExTK4P3LElORAGn+oBjIRTp/2IcRVJno pLBSxTlUeAD5C8fwIzvRDb7YanKiHYG0o8Vf8hiyjeLjqZxMqzmOkxFyRYrat3Al 1pOP14qHkWRgMzck7onZI6/OJ/W9BKKNO8QWIHrtJU9hBb4ZBemIH63HCZS1Zz4t ++zyjhPBKjzD3mqikrTmxLS9MdKFvDjW5dkhkkHcT2VvF+dBJlsIHu7QQJHuvMgT Zv1cbzF5HIabDPzaVfgBozR1hpclngI+mXpqt5UVFaJjmtF6keFp7A== =7/wa -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com >How-To-Repeat: >Fix: add this files to the patches dir # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # patch-aq # echo x - patch-aq sed 's/^X//' >patch-aq << 'END-of-patch-aq' X--- src/ftpcmd.y.orig Wed Oct 13 08:15:28 1999 X+++ src/ftpcmd.y Thu Jun 22 22:44:41 2000 X@@ -1926,13 +1926,13 @@ X } X if (!maxfound) X maxlines = defmaxlines; X- lreply(200, cmd); X+ lreply(200, "%s", cmd); X while (fgets(buf, sizeof buf, cmdf)) { X size_t len = strlen(buf); X X if (len > 0 && buf[len - 1] == '\n') X buf[--len] = '\0'; X- lreply(200, buf); X+ lreply(200, "%s", buf); X if (maxlines <= 0) X ++lines; X else if (++lines >= maxlines) { X--- src/ftpd.c.orig Thu Jun 22 22:23:40 2000 X+++ src/ftpd.c Thu Jun 22 22:45:23 2000 X@@ -3157,7 +3157,7 @@ X reply(230, "User %s logged in.%s", pw->pw_name, guest ? X " Access restrictions apply." : ""); X sprintf(proctitle, "%s: %s", remotehost, pw->pw_name); X- setproctitle(proctitle); X+ setproctitle("%s", proctitle); X if (logging) X syslog(LOG_INFO, "FTP LOGIN FROM %s, %s", remoteident, pw->pw_name); X /* H* mod: if non-anonymous user, copy it to "authuser" so everyone can X@@ -5912,7 +5912,7 @@ X X remotehost[sizeof(remotehost) - 1] = '\0'; X sprintf(proctitle, "%s: connected", remotehost); X- setproctitle(proctitle); X+ setproctitle("%s", proctitle); X X wu_authenticate(); X /* Create a composite source identification string, to improve the logging END-of-patch-aq exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message