again security proposal

Yuri Kuzmenko (yuri@cs.cracksoft.kiev.ua)
Mon, 29 Dec 1997 11:55:05 +0200


I have some security proposal. Hardlinks in given filesystem can created by any
user. Well known hardlink attack ($ ln /etc/passwd ~/.somestuff; # chown user
/home/user -R; $ vi ~/.somestuff) now maybe done by any user. Any sysadmin
can't remember all her security "holes" (i.e. some chown user.group ... -R in
system crontabs). I think that we must _CHECK_ permissions for files before
make hardlink. If this conflicts with some standards, maybe needed to make this
configurable.