Re: hard links create local DoS vulnerability and security problems

From: splite
Date: Mon Nov 24 2003 - 13:10:05 EST


On Mon, Nov 24, 2003 at 06:57:41PM +0100, Jakob Lell wrote:
> [...]
> Setuid-root binaries also work in a home directory.
> You can try it by doing this test:
> ln /bin/ping $HOME/ping
> $HOME/ping localhost
> [...]

That's why you don't put user-writable directories on the root or /usr
partitions. (For extra points, mount your /tmp and /var/tmp partitions
nodev,nosuid.) Seriously guys, this is Unix Admin 101, not a major new
security problem.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/