SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   gr_osview Vendors:   SGI (Silicon Graphics)
SGI IRIX gr_osview Lets Local Users Obtain Sensitive Information and Overwrite Arbitrary Files
SecurityTracker Alert ID:  1013662
SecurityTracker URL:  http://securitytracker.com/id/1013662
CVE Reference:   CVE-2005-0464, CVE-2005-0465   (Links to External Site)
Date:  Apr 7 2005
Impact:   Denial of service via local system, Disclosure of system information, Disclosure of user information, Modification of system information, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   iDEFENSE reported two vulnerabilities in gr_osview running on SGI's IRIX operating system. A local user can obtain potentially sensitive information from files and can overwrite arbitrary files on the target system.

A local user can invoke gr_osview with the debug option to open an arbitrary file and obtain the first line of the file's contents [CVE: CVE-2005-0464]. A demonstration exploit command is provided:

gr_osview -d -D /etc/shadow

A local user can invoke the utility with the '-s' command line option to open arbitrary files and overwrite them with system usage data [CVE: CVE-2005-0465]. This may result in denial of service conditions.

The vendor was notified on February 18, 2005.

The original advisories are available at:

http://www.idefense.com/application/poi/display?type=vulnerabilities

Impact:   A local user can obtain the first line of arbitrary files on the target system.

A local user can overwrite arbitrary files on the target system with system usage data.

Solution:   The vendor has issued patches, available at:

http://www.sgi.com/support/security/patches.html
ftp://patches.sgi.com/support/free/security/patches/

Vendor URL:  www.sgi.com/ (Links to External Site)
Cause:   Access control error
Underlying OS:  UNIX (SGI/IRIX)
Underlying OS Comments:  6.5.22; possibly prior 6.5 versions

Message History:   None.


 Source Message Contents

Subject:  iDEFENSE Security Advisory 04.07.05: SGI IRIX gr_osview Information


SGI IRIX gr_osview Information Disclosure Vulnerability

iDEFENSE Security Advisory 04.07.05
http://www.idefense.com/application/poi/display?type=vulnerabilities
April 7, 2005

I. BACKGROUND

The gr_osview application is a setuid root application that provides a 
graphical display of usage of certain types of operating system 
resources. It is installed by default under multiple versions of IRIX 6.


II. DESCRIPTION

Local exploitation of an information disclosure vulnerability in the 
gr_osview command included in multiple versions of Silicon Graphics 
Inc.'s IRIX Operating System could allow for the disclosure of sensitive

information such as the root user's password hash. 

The vulnerability specifically exists in the way that gr_osview opens 
user-specified description files without dropping privileges. When this 
is combined with the debug option, it is possible to dump a line from an

arbitrary file, regardless of its protection. An example is as follows: 

user@irix$ gr_osview -d -D /etc/shadow
sgets: waiting for string
*SR> read <root:PASSWDHASHHERE:2051::::::>
gr_osview: description file format error on line 1   

To elevate privileges, the attacker would then have to crack the root 
password using the acquired hash.

III. ANALYSIS

All that is required to exploit this vulnerability is a local account 
and an open X display, which could be the attacker's home machine or 
another compromised computer. Exploitation does not require any 
knowledge of application internals, making exploitation trivial, even 
for unskilled attackers. The most effective exploitation method would be

reading the first line of the operating system shadow file and then 
attempting to crack the root password hash. If successful, this would 
lead to a full root compromise.

IV. DETECTION

iDEFENSE has confirmed the existence of this vulnerability in SGI IRIX 
version 6.5.22 (maintenance). It is suspected that previous and later 
versions of both the feature and maintenance revisions of IRIX 6.5 are 
also vulnerable.

V. WORKAROUND

Only allow trusted users local access to security-critical systems. 
Alternately, remove the setuid bit from inpview using:

chmod u-s /usr/sbin/gr_osview

VI. VENDOR RESPONSE

This vulnerability has been addressed in SGI BUG 930892.

Related security advisories are available at:
   http://www.sgi.com/support/security/advisories.html
   
Related patches are available at:
   http://www.sgi.com/support/security/patches.html
   ftp://patches.sgi.com/support/free/security/patches/

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
names CAN-2005-0464 to these issues. This is a candidate for inclusion
in the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

02/18/2005  Initial vendor notification
02/23/2005  Initial vendor response
04/07/2005  Coordinated public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright (c) 2005 iDEFENSE, 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 customerservice@idefense.com 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.


-----


SGI IRIX gr_osview File Overwrite Vulnerability 

iDEFENSE Security Advisory 04.07.05
http://www.idefense.com/application/poi/display?type=vulnerabilities
April 7, 2005

I. BACKGROUND

The gr_osview application is a setuid root application that provides a 
graphical display of usage of certain types of operating system 
resources. It is installed by default under multiple versions of IRIX 6.


II. DESCRIPTION

Local exploitation of a file overwrite vulnerability in the gr_osview 
command included in multiple versions of Silicon Graphics Inc.'s IRIX 
operating system could allow for the overwriting of arbitrary files, 
regardless of permissions. 

The vulnerability specifically exists in the way that gr_osview opens 
user specified files without dropping privileges. When a file is 
specified using the "-s" option, it will be opened regardless of 
permissions, and operating system usage information will be written into

it. An example follows: 

user@irix$ gr_osview -s /etc/shadow 

After execution of that command, the system shadow file will be 
overwritten with system usage information. With a damaged shadow file, 
users will no longer be able to log on remotely or locally.

III. ANALYSIS

All that is required to exploit this vulnerability is a local account 
and an open X display, which could be the attacker's home machine or 
another compromised computer. Exploitation does not require any 
knowledge of application internals, making exploitation trivial, even 
for unskilled attackers.

IV. DETECTION

iDEFENSE has confirmed the existence of this vulnerability in SGI IRIX 
version 6.5.22 (maintenance). It is suspected that previous and later 
versions of both the feature and maintenance revisions of IRIX 6.5 are 
also vulnerable.

V. WORKAROUND

Only allow trusted users local access to security-critical systems. 
Alternately, remove the setuid bit from inpview using:

chmod u-s /usr/sbin/gr_osview

VI. VENDOR RESPONSE

This vulnerability has been addressed in SGI BUG 930890.

Related security advisories are available at:
   http://www.sgi.com/support/security/advisories.html
   
Related patches are available at:
   http://www.sgi.com/support/security/patches.html
   ftp://patches.sgi.com/support/free/security/patches/

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
names CAN-2005-0465 to these issues. This is a candidate for inclusion
in the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

02/18/2005  Initial vendor notification
02/23/2005  Initial vendor response
04/07/2005  Coordinated public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright (c) 2005 iDEFENSE, 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 customerservice@idefense.com 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.
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC