CERT home
vulnerabilities & fixesevaluations & practicesresearch & analysistraining & education
homesearchFAQsite indexcontact
Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information
 

 View Notes By
Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric

Vulnerability Note VU#579928

diffutils sdiff creates temporary files insecurely

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.

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

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

III. Solution

Apply vendor patches; see the Systems Affected section below.

Systems Affected

VendorStatusDate Updated
CalderaVulnerable19-Sep-2001
DebianUnknown9-Oct-2001
ImmunixVulnerable17-Sep-2001
MandrakeSoftVulnerable17-Sep-2001
RedHatVulnerable8-Nov-2001
SequentUnknown9-Oct-2001
TrustixVulnerable18-Sep-2001

References


http://www.securityfocus.com/bid/2191
http://www.linux-mandrake.com/en/updates/2001/MDKSA-2001-008.php3?dis=6.1
http://www.linuxsecurity.com/advisories/other_advisory-1034.html
http://www.linuxsecurity.com/advisories/other_advisory-1047.html
http://www.redhat.com/support/errata/RHSA-2001-116.html

Credit

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

This document was last modified by Tim Shimeall.

Other Information

Date Public01/10/2001
Date First Published10/09/2001 11:15:19 AM
Date Last Updated11/08/2001
CERT Advisory 
CVE NameCAN-2001-0117
Metric4.50
Document Revision15

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

Copyright 2001 Carnegie Mellon University