exploit-db-mirror/exploits/linux/local/19073.txt
Offensive Security d304cc3d3e DB: 2017-11-24
116602 new exploits

Too many to list!
2017-11-24 20:56:23 +00:00

6 lines
No EOL
385 B
Text

source: http://www.securityfocus.com/bid/81/info
netconfig creates the file /tmp/tmpmsg insecurely and follows symbolic links. An attacker can create a symbolic link from /tmp/tmpmsg 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/tmpmsg /etc/passwd
< wait for root to run netconfig >