RedHat Linux diskcheck Race Condition Vulnerability

BID:2050

Info

RedHat Linux diskcheck Race Condition Vulnerability

Bugtraq ID: 2050
Class: Race Condition Error
CVE:
Remote: No
Local: Yes
Published: Dec 05 2000 12:00AM
Updated: Dec 05 2000 12:00AM
Credit: This vulnerability was first discovered by Stan Bubrouski <[email protected]>, and announced in a Red Hat Inc. Security Advisory on December 4, 2000.
Vulnerable: Redhat Linux 6.2 sparc
Redhat Linux 6.2 i386
Redhat Linux 6.2 alpha
Redhat Linux 6.1 sparc
Redhat Linux 6.1 i386
Redhat Linux 6.1 alpha
Redhat Linux 6.0 sparc
Redhat Linux 6.0 alpha
Redhat Linux 6.0
Not Vulnerable:

Discussion

RedHat Linux diskcheck Race Condition Vulnerability

diskcheck.pl is a perl script included as part of the Red Hat Powertools suite, distributed by Red Hat Inc. A condition exists which could allow a user to corrupt arbitrary files on the system.

The problem occurs in the creation of a file in the /tmp file system. diskcheck.pl is run hourly, and is designed to send an email to the administrator of the system if any filesystem on the system reaches 90% capacity. The mail generated is moved to a file in /tmp labelled diskusagealert.txt.$$, with $$ representing the process number of the job. Due to the design, it is possible for a malicious user to create a symbolic link to another file on the system to which write access is not permitted, and corrupt the integrity of the linked file.

Exploit / POC

RedHat Linux diskcheck Race Condition Vulnerability

See discussion.

Solution / Fix

RedHat Linux diskcheck Race Condition Vulnerability

Solution:
Patch available:


Redhat Linux 6.0

Redhat Linux 6.0 alpha

Redhat Linux 6.0 sparc

Redhat Linux 6.1 i386

Redhat Linux 6.1 sparc

Redhat Linux 6.1 alpha

Redhat Linux 6.2 sparc

Redhat Linux 6.2 i386

Redhat Linux 6.2 alpha

References

RedHat Linux diskcheck Race Condition Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report