SGI IRIX <= 6.4 rmail Vulnerability

Dejan Levaja 07.05.1997 Verified
Local Exploits IRIX

Exploit Code

source: http://www.securityfocus.com/bid/460/info

A vulnerability exists in the rmail utility, included by SGI with it's Irix operating system. By failing to sanity check the contents of an environment variable, arbitrary commands may be executed with gid mail. rmail is used with uucp.


The following example is provided:

setenv LOGNAME blah; command-to-execute