search menu icon-carat-right cmu-wordmark

CERT Coordination Center

SCO OpenServer/UnixWare vi creates temporary files insecurely

Vulnerability Note VU#747736

Original Release Date: 2001-10-09 | Last Revised: 2001-10-09

Overview

The implementation of vi, a text editor, provided with SCO Openunix creates insecure temporary files with predictable names. Using a symbolic link attack, an intruder can overwrite any file writable by the user of vi.

Description

vi is a screen-oriented text editor. The implementation distributed with SCO Openunix creates temporary files in the world-writable directory /tmp with predictable names, and fails to check for prior ownership and protection of these files.

Impact

By creating symbolic links named for the files that vi creates, an intruder may overwrite any file writable by the user of vi. Since the intruder cannot control the content of the overwritten files, it does not seem likely that an increase in privilege will result.

Solution

Apply vendor patches; see the Systems Affected section below.

Vendor Information

747736
 
Affected   Unknown   Unaffected

SCO

Notified:  September 18, 2001 Updated:  September 20, 2001

Status

  Vulnerable

Vendor Statement

ftp://stage.caldera.com/pub/security/openserver/CSSA-2001-SCO.17/CSSA-2001-SCO.17.txt

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A

References

Acknowledgements

This vulnerability was first reported by Richard Johnson.

This document was last edited by Tim Shimeall

Other Information

CVE IDs: CVE-2001-0627
Severity Metric: 1.01
Date Public: 2001-05-31
Date First Published: 2001-10-09
Date Last Updated: 2001-10-09 15:41 UTC
Document Revision: 13

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.