12915 : IRIX inpview Environment Variable Local Privilege Escalation
Printer | http://osvdb.org/12915 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
8 1145 over 8 years ago about 3 years ago 1 times 100%

Timeline

Disclosure Date
2005-01-13
Time to Vendor Response
1 days

Description

IRIX contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when inpview trusts the user environment and does not drop privileges. A malicious user can set the environment variable SUN_TTSESSION_CMD to "cp /bin/jsh /tmp/jsh;chmod 6755 /tmp/jsh;killall -9 inpview," which will execute with root permissions, thus allowing a regular user to drop a setuid and setgid shell to /tmp. This flaw leads to a loss of integrity.

Classification

Location: Local Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Public

Solution

The vendor has discontinued this product and therefore has no patch or upgrade that mitigates this problem. However, it is possible to fix this vulnerability by implementing the following workaround: remove the setuid bit from inpview.

chmod u-s /usr/lib/InPerson/inpview

Products

Silicon Graphics, Inc.
IRIX
6.5.9 (not affected)
6.5.9 m (not affected)
6.5.9 f
6.5.22 (not affected)
6.5.22 m

References

Credit

CVSSv2 Score

CVSSv2 Base Score = 7.2
Source: nvd.nist.gov | Generated: 2005-06-03 | Disagree?

Access_vector_0 Access_complexity_2 Authentication_2 Confidentiality_impact_2 Integrity_impact_2 Availability_impact_2

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and 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. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2002 - 2013 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use