Exploit the possiblities

iDEFENSE Security Advisory 2005-04-07.1

iDEFENSE Security Advisory 2005-04-07.1
Posted Apr 17, 2005
Authored by iDefense Labs | Site idefense.com

iDEFENSE Security Advisory 04.07.05 - 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.

tags | advisory, arbitrary, local, root, info disclosure
systems | irix
advisories | CVE-2005-0464
MD5 | 9cc19ad2bed67e14448de3c36652635b

iDEFENSE Security Advisory 2005-04-07.1

Change Mirror Download
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.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

February 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Feb 1st
    15 Files
  • 2
    Feb 2nd
    15 Files
  • 3
    Feb 3rd
    15 Files
  • 4
    Feb 4th
    13 Files
  • 5
    Feb 5th
    16 Files
  • 6
    Feb 6th
    15 Files
  • 7
    Feb 7th
    15 Files
  • 8
    Feb 8th
    15 Files
  • 9
    Feb 9th
    18 Files
  • 10
    Feb 10th
    8 Files
  • 11
    Feb 11th
    8 Files
  • 12
    Feb 12th
    17 Files
  • 13
    Feb 13th
    15 Files
  • 14
    Feb 14th
    15 Files
  • 15
    Feb 15th
    17 Files
  • 16
    Feb 16th
    18 Files
  • 17
    Feb 17th
    37 Files
  • 18
    Feb 18th
    2 Files
  • 19
    Feb 19th
    16 Files
  • 20
    Feb 20th
    11 Files
  • 21
    Feb 21st
    3 Files
  • 22
    Feb 22nd
    0 Files
  • 23
    Feb 23rd
    0 Files
  • 24
    Feb 24th
    0 Files
  • 25
    Feb 25th
    0 Files
  • 26
    Feb 26th
    0 Files
  • 27
    Feb 27th
    0 Files
  • 28
    Feb 28th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close