allowed delayed writes via AUTH_GSS
2003-10-01 22:44:31 GMT
[Disclaimer: I'm far from a security or Kerberos wiz, so I might be way off the mark here.] I've been thinking about delayed writes when using AUTH_GSS some more and I think it might be ok in certain situations. (This would seem to be nice, since clients with write delegations might delay the writes for a very long time. It also gives the client a "more POSIX like" semantic, since access is checked at Open only.) [Nicolas Williams wrote] > It would still be nice for clients with hostbased princs/creds to be > able to flush dirty data using the clients' hostbased creds, which > requires binding of the clients' contexts to the same quantity. Just suppose the following: 1 - Client does a SetClientID with AUTH_GSS, where the principal is nfs/host1 <at> KERBEROS.REALM and gets clientid0 2 - Client Opens file "X" for writing, using clientid0 and AUTH_GSS, where the principal is <user> <at> KERBEROS.REALM successfully getting stateid0 3 - Client Writes to file "X" using stateid0 and AUTH_GSS, where the principal is nfs/host1 <at> KERBEROS.REALM Now, if the principal nfs/host1 <at> KERBEROS.REALM (which is the one the server saw for the SetClientID the Open is associated with) is considered acceptable, what vulnerabilities does that open up? A bad guy could easily do a fake #3, if it has the right keytab file and the correct stateid (stateid0). So, it seems to me the above is ok if you can trust the client machine to keep a keytab file secure. (For a typical MIT Kerberos installation, "root" on the machine can access both the(Continue reading)
RSS Feed