Slackware Linux 3.4 - makebootdisk Temporary File

1998-04-06T00:00:00
ID EXPLOITPACK:C6929646E1A37A1A0AB2ABB647E1E632
Type exploitpack
Reporter neonhaze
Modified 1998-04-06T00:00:00

Description

Slackware Linux 3.4 - makebootdisk Temporary File

                                        
                                            source: https://www.securityfocus.com/bid/78/info

makebootdisk creates the file /tmp/return insecurely and follows symbolic links. An attacker can create a symbolic link from /tmp/return 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/return /etc/passwd
< wait for root to run makebootdisk >