search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Redhat Linux creates predictable temporary file and fails to check for existing symbolic link of same name

Vulnerability Note VU#570952

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

Overview is a PERL script, part of Red Hat's powertools suite, that alerts a system administrator if any file system approaches capacity. In creating email alerts, creates insecure temporary files in a world-writable directory, which may permit an attacker to corrupt any writable file on the system.

Description is designed to run hourly. When any file system approaches capacity, it generates an email message to the system administrator, using a temporary file with a predictable name in the /tmp directory, without checking for the prior existence or ownership of this file. By its nature, Disckcheck runs with setuid root.


By creating a symbolic link with appropriate name and pointed to any writable file on the system, a local attacker can corrupt that file when diskcheck detects a file system approaching capacity.


Apply vendor patches; see the Systems Affected section below.

Modify to remove any file from /tmp named for its temporary file.

Vendor Information

Affected   Unknown   Unaffected


Notified:  December 05, 2000 Updated:  October 04, 2001



Vendor Statement

Vendor Information

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


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



This vulnerability was first announced by Stan Bubrouski .

This document was last modified by Tim Shimeall.

Other Information

CVE IDs: CVE-2000-0715
Severity Metric: 4.32
Date Public: 2000-12-20
Date First Published: 2001-10-08
Date Last Updated: 2001-10-08 16:59 UTC
Document Revision: 10

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