Bugtraq mailing list archives

Re: Publically writable directories


From: ig25 () mvmampc66 ciw uni-karlsruhe de (Thomas Koenig)
Date: Tue, 18 Jun 1996 19:07:54 +0200


Bill Pemberton wrote:
Thomas Koenig writes:
$ ln -s /tmp/some.file /etc/nologin

Can this also create security problems for a 'normal' user?

Quite easily.  What about:

ln -s /tmp/some.file /home/blah/.rhosts

If I implement the lstat/lstat solution (i.e check wether I've actually
created the file), and then back off once I've noticed the switch, all
I've done is create an EMPTY file, and I can't be sure which one.

Is there any way such an empty file can be of more than nuisance value
to an attacker?
--
Thomas Koenig, Thomas.Koenig () ciw uni-karlsruhe de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.



Current thread: