Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: aneubach@risc.uni-linz.ac.at (Andreas Neubacher)
Subject: /bin/init has permissions 755 in Ultrix 4.x
Date: Tue, 9 Nov 1993 15:08:24 GMT	[thread overview]
Message-ID: <CG8Cq0.H9q@risc.uni-linz.ac.at> (raw)

I'm not certain what to make of it but on our DECstations running Ultrix 4.x
the "/bin/init" binary has default permissions 755, i.e. it is executable by
users.
	A user noticed this when accidentally executing "init" instead of
"xinit". This got him into an interactive "sh". Exiting from this shell with
CONTROL-D caused "/etc/rc" and consequently "/etc/rc.local" being executed.
Several daemons got started ("/etc/lockd", "nfsd"). While no damage was
caused, all these processes were running happily under this user's UID,
doing whatever they could do with the permissions they had.
	Now, might a security hole be hiding there, or is it just something
to scare an innocent user?

Andreas.
-------------------------------------------------------------------------------
Andreas NEUBACHER, Research Institute for Symbolic Computation, Johannes Kepler
University, 4040 Linz, Austria. aneubach@risc.uni-linz.ac.at !Packed signature!


                 reply	other threads:[~1993-11-09 15:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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