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#960877

Red Hat linux restore uses insecure environment variables allowing root compromise

Overview

Some implementations of the Linux restoration utility, restore, call external programs on remote machines via the RSH environment variable. This may permit an attacker to compromise root if restore is setuid root.

I. Description

Some implementations of the Linux restoration utility, restore, permit use of storage devices on remote machines via an access program on the local machine. This access program is identified in the RSH environment variable. The value in the environment variable is not validated for security prior to its use in calling a program. In some implementations, restore is protected setuid root.

II. Impact

By specifying a shell script of their own devising, malicious local users can exploit the setuid protection on restore to secure root access for themselves to execute arbitrary commands.

III. Solution

Apply vendor patches; see the Systems Affected section below.

Remove the setuid protection from restore.

Systems Affected

VendorStatusDate Updated
DebianNot Vulnerable23-Jul-2001
EngardeNot Vulnerable23-Jul-2001
Hewlett PackardUnknown7-Aug-2001
OpenBSDNot Vulnerable23-Jul-2001
RedHatVulnerable23-Jul-2001
SGINot Vulnerable16-Jul-2001

References

http://www.kb.cert.org/vuls/id/153653
http://www.securityfocus.com/bid/1914

Credit

This vulnerability was first reported through discussion on Bugtraq .

This document was last modified by Tim Shimeall.

Other Information

Date Public11/04/2000
Date First Published08/21/2001 09:09:56 AM
Date Last Updated08/21/2001
CERT Advisory 
CVE NameCAN-2000-1125
Metric20.06
Document Revision10

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

Copyright 2001 Carnegie Mellon University