what you don't know can hurt you

iDEFENSE Security Advisory 2005-01-13.3

iDEFENSE Security Advisory 2005-01-13.3
Posted Jan 16, 2005
Authored by iDefense Labs | Site idefense.com

iDEFENSE Security Advisory 01.13.05-3 - Local exploitation of a design error vulnerability in the inpview command included in multiple versions of Silicon Graphics Inc.'s IRIX could allow for arbitrary code execution as the root user. iDEFENSE has confirmed the existence of this vulnerability in SGI IRIX version 6.5.9 (feature) and 6.5.22 (maintenance).

tags | advisory, arbitrary, local, root, code execution
systems | irix
MD5 | cbe1d361d60f08214500dcd1d88bc0d1

iDEFENSE Security Advisory 2005-01-13.3

Change Mirror Download
SGI IRIX inpview Design Error Vulnerability

iDEFENSE Security Advisory 01.13.05
www.idefense.com/application/poi/display?id=182&type=vulnerabilities
January 13, 2005

I. BACKGROUND

The inpview program is a setuid root application that is included in the

InPerson networked multimedia conferencing tool. InPerson networked
multimedia conferencing tool is included in SGI IRIX.

II. DESCRIPTION

Local exploitation of a design error vulnerability in the inpview
command included in multiple versions of Silicon Graphics Inc.'s IRIX
could allow for arbitrary code execution as the root user.

The vulnerability specifically exists due to the fact that inpview
trusts the user environment and does not drop privileges. When the
environment variable SUN_TTSESSION_CMD is something such as "cp /bin/jsh

/tmp/jsh;chmod 6755 /tmp/jsh;killall -9 inpview," the chain of commands
will be executed with root permissions, thus allowing a regular user to
drop a setuid and setgid shell to /tmp.

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 system. Exploitation does not require any knowledge
of application internals, making privilege escalation trivial, even for
unskilled attackers.

IV. DETECTION

iDEFENSE has confirmed the existence of this vulnerability in SGI IRIX
version 6.5.9 (feature) and 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:

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

VI. VENDOR RESPONSE

Support for the InPerson product did not extend beyond 02/2002 as noted
in the following publication:

techpubs.sgi.com/library/manuals/4000/007-4526-001/pdf/007-4526-001.pdf

As a result, no patch will be issued for this vulnerability.

VII. CVE INFORMATION

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

VIII. DISCLOSURE TIMELINE

01/06/2005 Initial vendor notification
01/07/2005 Initial vendor response
01/13/2005 Public disclosure

IX. CREDIT

iDEFENSE Labs is credited with this discovery.

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

X. LEGAL NOTICES

Copyright (c) 2004 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

File Archive:

June 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close