Slackware Linux 3.4 - liloconfig-color temporary file Vulnerability

1998-04-06T00:00:00
ID EDB-ID:19070
Type exploitdb
Reporter neonhaze
Modified 1998-04-06T00:00:00

Description

Slackware Linux 3.4 liloconfig-color temporary file Vulnerability. Local exploit for linux platform

                                        
                                            source: http://www.securityfocus.com/bid/77/info

liloconfig-color creates the file /tmp/reply insecurely and follows symbolic links. An attacker can create a symbolic link from /tmp/reply to any file and wait for root to run the program. This will clober the target file.
The file created has permissions -rw-r--r--.

$ ln -s /tmp/reply /etc/passwd
< wait for root to run liloconfig-color >