tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Patch SSRT0583U to /usr/bin/mh/inc has incorrect instructions
@ 1999-02-04 19:10 Lamont Granquist
  0 siblings, 0 replies; only message in thread
From: Lamont Granquist @ 1999-02-04 19:10 UTC (permalink / raw)
  To: tru64-unix-managers


The SSRT0583U patch instructions (v4.0d/README) tell the sysadmin to:

| The following instructions assume the patched files are in directory
| /patches.

[...]

| # cd /usr/bin/mh
| 
| # cp /patches/inc inc.new
| # chown root:bin inc.new
| # chmod 4755 inc.new
| # ln inc inc.orig
| # mv inc.new inc

This will, of course, leave /usr/bin/mh/inc.orig the old still-suid
binary.  chmod u-s /usr/bin/mh/inc.orig will fix the patch.  It *is*
probably a good idea to keep the original files around so that they can be
replaced when installing the next patch kit (to fix those "origin of file
/blah/foo unknown, skipping patch..." errors).

Thanks to Bob Vickers for drawing this to my attention...

Compaq has been notified...

-- 
Lamont Granquist                       lamontg@raven.genome.washington.edu
Dept. of Molecular Biotechnology       (206)616-5735  fax: (206)685-7344
Box 352145 / University of Washington / Seattle, WA 98195
PGP pubkey: finger lamontg@raven.genome.washington.edu | pgp -fka

---------- Forwarded message ----------
Date: Thu, 4 Feb 1999 10:08:46 +0000 (GMT)
From: Bob Vickers <bobv@dcs.rhbnc.ac.uk>
Reply-To: R.Vickers@dcs.rhbnc.ac.uk
To: Lamont Granquist <lamontg@raven.genome.washington.edu>
Subject: Re: This Buffer Overflow thing...

Lamont,

The patch SSRT0583U does NOT solve the problem. It makes the classic
mistake that everyone makes the first time they write a patch for a
security hole in a setuid program: it carefully preserves the old
dangerous program along with its setuid permission in a file with a
different name (in this case something.orig).

In keeping with the conventions of alpha-osf-managers I'm leaving it to
you to warn everybody else.

Bob

==============================================================
Bob Vickers                     R.Vickers@dcs.rhbnc.ac.uk
Dept of Computer Science, Royal Holloway, University of London
WWW:    http://www.cs.rhbnc.ac.uk/home/bobv
Phone:  +44 1784 443691

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-02-04 19:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-04 19:10 Patch SSRT0583U to /usr/bin/mh/inc has incorrect instructions Lamont Granquist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox