AOH :: SCO :: VI2~1.HTM

Unixware 5.x vi predictable /tmp filenames

Vulnerability

    vi

Affected

    Unixware 5.x (SCO_SV unixdev 3.2 5.0.5 i386)

Description

    Richard Johnson (Strategic  Reconnaissance Team Security  Advisory
    SRT2001-9) found  following.   vi makes  poor use  of /tmp.   File
    names are very predictable

    As a user

        ln -s /etc/passwd /tmp/Ex04161

    wait for root  to run vi  and viola when  he does he  will clobber
    /etc/passwd with a null file

Solution

    Don't use vi or crontab -e until patched.

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2009 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.