search menu icon-carat-right cmu-wordmark

CERT Coordination Center

diffutils sdiff creates temporary files insecurely

Vulnerability Note VU#579928

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

Overview

diffutils, a set of utilities distributed with many versions of linux, contains a utility called sdiff, which creates temporary files of predictable names in an insecure fashion. Using a symbolic link attack, an intruder can cause overwrite of any file writable by the user executing sdiff.

Description

sdiff creates temporary files as part of the file comparison process. Under some conditions, sdiff will create files in /tmp with predictable names, and furthermore does not check for prior existence or ownership of these files.

Impact

By creating a series of symbolic links, an intruder can cause sdiff to overwrite any file writable by the user executing sdiff, which may corrupt data or deny service.

Solution

Apply vendor patches; see the Systems Affected section below.

Vendor Information

579928
 
Affected   Unknown   Unaffected

Caldera

Notified:  September 18, 2001 Updated:  September 19, 2001

Status

  Vulnerable

Vendor Statement

For our Linux products:

Vulnerable:
Openlinux 2.3, OpenLinux eServer 2.3.1, eDesktop 2.4

We have not released a security update for this problem,
but released fixes in our 3.1 products.

Not vulnerable:
OpenLinux Workstation 3.1
OpenLinux Server 3.1

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.

Immunix

Notified:  January 10, 2001 Updated:  September 17, 2001

Status

  Vulnerable

Vendor Statement

http://www.linuxsecurity.com/advisories/other_advisory-1034.html

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.

MandrakeSoft

Notified:  January 10, 2001 Updated:  September 17, 2001

Status

  Vulnerable

Vendor Statement

http://www.linux-mandrake.com/en/updates/2001/MDKSA-2001-008.php3?dis=6.1

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.

RedHat

Notified:  September 18, 2001 Updated:  November 08, 2001

Status

  Vulnerable

Vendor Statement

http://www.redhat.com/support/errata/RHSA-2001-116.html

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.

Trustix

Notified:  January 10, 2001 Updated:  September 18, 2001

Status

  Vulnerable

Vendor Statement

http://www.linuxsecurity.com/advisories/other_advisory-1047.html

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.

Debian

Notified:  September 18, 2001 Updated:  October 09, 2001

Status

  Unknown

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

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.

Sequent

Notified:  September 18, 2001 Updated:  October 09, 2001

Status

  Unknown

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

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

Credit

This vulnerability was first described by Greg Kroah-Hartman of Immunix.

This document was last modified by Tim Shimeall.

Other Information

CVE IDs: CVE-2001-0117
Severity Metric: 4.50
Date Public: 2001-01-10
Date First Published: 2001-10-09
Date Last Updated: 2001-11-08 18:26 UTC
Document Revision: 15

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