Re: NFS Security Question
From: Darren Moffat (Darren.Moffat@eng.sun.com)Date: 08/15/01
- Previous message: Åke Nordin: "Re: NFS Security Question"
- Maybe in reply to: McGee Olson: "NFS Security Question"
- Next in thread: Ryan Russell: "Re: NFS Security Question"
- Reply: Ryan Russell: "Re: NFS Security Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Message-Id: <200108150005.f7F05fB296346@jurassic.eng.sun.com> Date: Tue, 14 Aug 2001 17:05:05 -0700 (PDT) From: Darren Moffat <Darren.Moffat@eng.sun.com> Subject: Re: NFS Security Question To: focus-sun@securityfocus.com, moose@ecsoft.se
>If user 'joe' works on 'foo', his homedirectory is shared to a
>netgroup (which contains hosts for which the root password is only
>known to us, i.e. hosts we 'control'), and for the machine 'foo'.
joe can get euid=0 via su since he doesn't know the password.
>If I understand you right, then this means that you deny 'joe' access to
>his NFS home on 'bar' and 'bob' access to his NFS home on 'foo'. When
>root (i .e. 'joe' with euid=0) su - 'bob' he accordingly just gets the
>system-wide default login enviroment and a CWD of '/' on 'foo'. Doesn't
>this mean that he (now with 'bob's euid) still may rlogin to 'bar',
>getting 'bob's NFS home as CWD, fully readable/writable (i. e. 'joe'
>on 'foo' has "become" 'bob' on 'bar') ?
Only if joe knows bob's password in which case the whole thing is pointless
anyway.
OR bob has a .rhosts file that says trust bob from foo by some rule.
Removing support for .rhosts is easy for Solaris 2.6 onwards, remove or
comment out pam_auth_rhosts entry in pam.conf.
While this works in the case it all falls apart if users have root
access to any machine that can mount the NFS share.
The only solution in this case is to use NFS with RPC security stronger
than AUTH_SYS as described in my previous replies - this is exactly the
case they were invented and implemented for.
-- Darren J Moffat
- Previous message: Åke Nordin: "Re: NFS Security Question"
- Maybe in reply to: McGee Olson: "NFS Security Question"
- Next in thread: Ryan Russell: "Re: NFS Security Question"
- Reply: Ryan Russell: "Re: NFS Security Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|