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.
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.
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.
Apply vendor patches; see the Systems Affected section below.
Remove the setuid protection from restore.
This vulnerability was first reported through discussion on Bugtraq .
|Date First Published:||2001-08-21|
|Date Last Updated:||2001-08-21 13:10 UTC|