Public Vulnerability Reports

UnixWare setuid Applications Contain Buffer Overflow



The UnixWare setuid root applications /usr/X/bin/Launch_Application
and /usr/X/bin/Remote_Apps are vulnerable to a local buffer overflow.
NetWare_Access and App_Sharing are also vulnerable, they are not
installed setuid but get root privs from /etc/security/tbc/privs.


The overflow occurs when the HOME environment variable is too long. The
overflow enables local users to take control over the program and
execute arbitrary code as root.


An exploit has been developed and tested on UnixWare 7.0.1. According to both
Launch_Application and Remote_Apps have been removed from UnixWare 7.1.1
and  later.


HOME=`perl -e 'print "x"x10000'`;export HOME;Launch_Application
A crash indicates that the system is vulnerable.


Remove the suid bits from Launch_Application and Remote_Apps.
Use the filepriv command to revoke the extra privs from
NetWare_Access and App_Sharing.


A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not
been assigned yet.


02/11/2003   Initial vendor notification
02/11/2003   Initial vendor response
02/25/2003   Public Disclosure


Texonet Co. is credited with this discovery.

Get paid for vulnerability research


Copyright © 2004 Verisign, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.