[6452] in bugtraq

home help back first fref pref prev next nref lref last post

insecure tmp file creation (slack)

daemon@ATHENA.MIT.EDU (neonhaze)
Mon Apr 6 15:43:12 1998

Date: 	Mon, 6 Apr 1998 07:29:44 -0400
Reply-To: neonhaze <bmacdonald@SYD.AURACOM.COM>
From: neonhaze <bmacdonald@SYD.AURACOM.COM>
To: BUGTRAQ@NETSPACE.ORG

Linux Slackware

I don't know which of these are already known so please bare with me.

When the following programs are run they create /tmp files that do not
check for links and will happily overwrite any file when the program is
running as root. So link one of them to your favorite root owned file you
would like to destroy (or edit in pkgtool's case) and wait for root to run
the affected program.

-Affected Program-    -File created in /tmp-       -Created File Perms-
liloconfig-color            reply                   -rw-r--r--
pkgtool                     reply                   -rw-rw-rw-
makebootdisk                return                  -rw-r--r--
netconfig                   tmpmsg                  -rw-r--r--

found by neonhaze <neonhaze@mailcity.com>
                  <bmacdonald@syd.auracom.com>

home help back first fref pref prev next nref lref last post