Re: NFS Security Question
From: Darren Moffat (Darren.Moffat@eng.sun.com)Date: 08/15/01
- Previous message: Rich Teer: "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: <200108150120.f7F1KrB313927@jurassic.eng.sun.com> Date: Tue, 14 Aug 2001 18:20:21 -0700 (PDT) From: Darren Moffat <Darren.Moffat@eng.sun.com> Subject: Re: NFS Security Question To: ryan@securityfocus.com
>On Tue, 14 Aug 2001, Darren Moffat wrote:
>
>> 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.
>
>I'm failing to grok something here, or perhaps I'm being too much of a
>stickler.
>
>If I'm sitting in front of my desktop Sparc, I can always get root. If
>nothing else, Mudge's trick of doing a stop-A, and changing the process
>structure in memory do my UID is 0 will do it quickly. I don't think
Assuming there is no eeprom password (and assuming you don't know it)
set yes that will always get you UID 0.
>there is anything you can do to keep me from getting root on the box in
>front of me eventually, short of firing for policy violation, etc..
>besides, I think the original poster said the guy is allowed to have root,
>no?
The original poster did yes - hence the problem.
root on your machine doesn't translate to root on the NFS server since
This also assumes that Bob's sensitive files aren't world read able.
Being root on the NFS client makes you "nobody" on the NFS server. If
you "su -c bob" as root you didn't get bob's Secure RPC key or Kerberos
credentials loaded so you won't be able to authenticate to the NFS server
as Bob and will instead end up as nobody again (at best).
>Anyway... All I have to do is invite Bob to log into my box, and his drive
>mounts automatically, and I CD to it, because I'm root, yes?
If you can get Bob to log into your box and get his secure rpc key
loaded into keyserv, yes and there is nothing we can do to protect
against that if you have physical access or full root access to machine
you have full access to any user creds that get stored on there.
I'll need to refresh my memory on how this impacts Kerberos but I believe
it is also vulnerable since even if bob used a kerberized telnet/rlogin
to get to your box there is still a ticket stored in the cred cache.
But if you have that level of access to the machine and can convince Bob
to login to it it would be much easier just to install a fake login
program and capture his password and then do the dirty deed on his own
machine when he has left his office (or remotely).
-- Darren J Moffat
- Previous message: Rich Teer: "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
|
|