Mistake in security advisory.

From: Dan Mahoney, System Admin (danm@prime.gushi.org)
Date: 07/26/01


Date: Thu, 26 Jul 2001 09:19:20 -0400 (EDT)
From: "Dan Mahoney, System Admin" <danm@prime.gushi.org>
To: security@freebsd.org

I'd like to point out what I think is a slight error in the security
advisory, although I may be wrong about this. Watch for my c-style
comments below:

# ls /usr/src/crypto/telnet/telnetd

A response of

ls: /usr/src/crypto/telnet/telnetd: No such file or directory

indicates you do not have the sources present and should download the
non-crypto-telnet patch.

These patches have been verified to apply to FreeBSD 4.2-RELEASE,
4.3-RELEASE and 3.5.1-STABLE dated prior to 2001-07-20 (users of
3.5.1-RELEASE must have applied the patches from FreeBSD Security
Advisory 00:69 prior to applying this patch). These patches may or
may not apply to older, unsupported releases of FreeBSD.

2a) For systems with the crypto-telnet sources installed

Download the patch and the detached PGP signature from the following
locations, and verify the signature using your PGP utility.

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-01:49/telnetd-crypto.patch
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-01:49/telnetd-crypto.patch.asc

/* This patch applies cleanly to 3.5.1-STABLE systems, and the above
directory exists. */

# cd /usr/src/
# patch -p < /path/to/patch
# cd /usr/src/secure/libexec/telnetd
# make depend && make all install

/* This directory does NOT exist, only /usr/src/libexec/telnetd exists in
3.5.1-Stable */

2b) For systems without the crypto-telnet sources installed

Download the patch and the detached PGP signature from the following
locations, and verify the signature using your PGP utility.

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-01:49/telnetd.patch
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-01:49/telnetd.patch.asc

# cd /usr/src/
# patch -p < /path/to/patch
# cd /usr/src/libexec/telnetd
# make depend && make all install

/* Yet this command appears to build the telnet daemon with the applied
patches. Can someone confirm this for me? For what it's worth, the
above advisory confused me, so I simply re-cvsupped my entire source
tree, and then followed the instructions immediately above. */

Perchance a correction can save someone else the same trouble.

-Dan mahoney

--
"Don't be so depressed dear."
"I have no endorphins, what am I supposed to do?"
-DM and SK, February 10th, 1999
--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Web: http://prime.gushi.org
finger danm@prime.gushi.org 
for pgp public key and tel#
---------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message


Relevant Pages

  • FreeBSD Security Advisory FreeBSD-SA-05:09.htt
    ... For general information regarding FreeBSD Security Advisories, ... which time a revised version of this advisory will be published. ... To patch your present system: ...
    (FreeBSD-Security)
  • [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-05:09.htt
    ... For general information regarding FreeBSD Security Advisories, ... which time a revised version of this advisory will be published. ... To patch your present system: ...
    (freebsd-announce)
  • Q about FreeBSD-SA-02:23.stdio
    ... The FreeBSD Project ... branches dated after the respective correction dates. ... To patch your present system: ... detached PGP signature using your PGP utility. ...
    (FreeBSD-Security)
  • RE: FreeBSD Security Advisory FreeBSD-SA-02:13.openssh
    ... > The following patch has been verified to apply to FreeBSD 4.4-RELEASE, ... > may or may not apply to older, unsupported versions of FreeBSD. ... > Download the patch and the detached PGP signature from the following ... ># make depend && make all install ...
    (FreeBSD-Security)
  • Re: FreeBSD Security Advisory FreeBSD-SA-03:08.realpath
    ... > detached PGP signature using your PGP utility. ... The following patch ... > has been tested to apply to all FreeBSD 4.x releases and to FreeBSD ...
    (FreeBSD-Security)