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
 

Caldera Affected

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

Status

Affected

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 Affected

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

Status

Affected

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 Affected

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

Status

Affected

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 Affected

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

Status

Affected

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 Affected

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

Status

Affected

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 Unknown

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

Status

Unknown

Vendor Statement

We have not received a statement from the vendor.

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 Unknown

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

Status

Unknown

Vendor Statement

We have not received a statement from the vendor.

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
Temporal
Environmental

References

Acknowledgements

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 CISA.