* SUMMARY : SETUID via NFS
@ 1995-10-22 17:30 Murat Balci
0 siblings, 0 replies; only message in thread
From: Murat Balci @ 1995-10-22 17:30 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
my question was ;
Today I realized a terible problem ! Any ordinari user can mount a remote
file system if they allow. Ok, this might be a good thing but it has also
many security problems. Imagine, one of our users is the root of an
another system ( even this might be a Linux ! ). Then hi create a setuid
program at remote host, and change its owner to root, then export this
dir. Then login my system and then mount that dir, then he became root !
Yes hard to think but, this *WORKS* ! I immediately changes the
permitions of mount* files to 700, but this not a solution, any body can
find this executables from an another DEC. Do you have any solution for
this problem ?
- o -
Thanx to ;
maillard@atyisa.enet.dec.com
Stam Nicolis <nicolis@celfi.phys.univ-tours.fr>
Pecsenyanszky Istvan <pecseny@inf.bme.hu>
Marcel A. Bernards <bernards@ecn.nl>
golden@falcon.invincible.com
Ezra Peisach <epeisach@MIT.EDU>
Sean Watson <swatson@ultrix6.cs.csubak.edu>
Dan Riley <dsr@lns598.lns.cornell.edu>
Craig Hagan <hagan@rmc1.crocker.com>
gosejac@rto.dec.com
cyrmiche@sidoci.qc.ca
Mandell Degerness <MDEGERNESS@galaxy.gov.bc.ca>
- o -
However, really no need to worry. What I tried and became root at an
other machine, where I'm not SU, was a file system which was mounted by
the root of this machine.
Breefly Sean Watson <swatson@ultrix6.cs.csubak.edu> explains the fact belove
Thanx for all.
Sincerely.
murat.
- o -
Sean Watson <swatson@ultrix6.cs.csubak.edu> wrotes ;
Murat,
No need to be so worried. If you check the OSF man page for mount, you
will notice something about "nosuid" and "suid" under mount options. If
you aren't root, you're forced to use "nosuid" when you mount the file
system. (If you are root, suid is the default but nosuid still works.)
I really did try this on a PC running Linux and our Alpha running
Digitial Unix 3.2.
Sean
P.S. This is not to downplay the security implications that abound in
mounting files via NFS, only they aren't quite so easy to exploit.
----
Murat Balci UNIX sys. Admin
s-mail : Ege Universitesi B.A.U.M - Bornova, IZMIR, TURKIYE.
e-mail : balci@baum01.ege.edu.tr Phone :+(90)(232)3881080-253
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-10-22 17:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-22 17:30 SUMMARY : SETUID via NFS Murat Balci
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox