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

SecurityTracker
Archives


 


Category:   Application (Security)  >   OpenSSH Vendors:   OpenSSH.org
(HP Issues Fix for HP Secure OS for Linux) OpenSSH UseLogin Environment Variable Bug Lets Local Users Execute Commands and Gain Root Access
SecurityTracker Alert ID:  1002953
SecurityTracker URL:  http://securitytracker.com/id/1002953
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Dec 12 2001
Impact:   Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 3.0.1 and prior
Description:   A vulnerability was reported in OpenSSH that may allow a local user to cause arbitrary commands to be executed with root level privileges, giving the user root level access on the system.

The vulnerability reportedly resides in the UseLogin option of OpenSSH. This option is apparently not part of the default configuration. A local user can pass environment variables (e.g. LD_PRELOAD) to the login process, which is run with the same privilege as sshd (typically this is a root level process). This could allow a local user to cause arbitrary commands to be executed with root level privileges, giving the local user root access on the system.

Impact:   A local user could cause arbitrary commands to be executed with root level privileges, giving the local user root access on the system.
Solution:   The vendor has released a fix and recommends that customers download the RPMs listed in the following Red Hat Security Advisory:

http://www.redhat.com/support/errata/RHSA-2001-161.html

HP notes that UseLogin is not enabled by default on HP Secure OS for Linux.

To install the security advisory RPMs, use the following sequence of commands:

1. If you use the tripwire product, we recommend that you run a
a consistency check and fix any violations before installing
the security advisory RPM.

tripwire --check --interactive

2. Install the advisory RPM from the root account.

rpm -F <advisory RPM name>

3. Update the tripwire database

tripwire --check --interactive

Vendor URL:  www.openssh.org/ (Links to External Site)
Cause:   Access control error
Underlying OS:  Linux (HP Secure OS)

Message History:   This archive entry is a follow-up to the message listed below.
Dec 4 2001 OpenSSH UseLogin Environment Variable Bug Lets Local Users Execute Commands and Gain Root Access



 Source Message Contents

Subject:  security bulletins digest



Document ID:  HPSBTL0112-005
Date Loaded:  20011211
      Title:  Security vulnerability in OpenSSH

TEXT





---------------------------------------------------------------
    HEWLETT-PACKARD COMPANY SECURITY BULLETIN: #005
    Originally issued: 12 December '01
---------------------------------------------------------------

The information in the following Security Bulletin should be acted
upon as soon as possible.  Hewlett-Packard Company will not be
liable for any consequences to any customer resulting from the 
customer's failure to fully implement instructions in this Security 
Bulletin as soon as possible.

Because the vulnerability does not require a Hewlett-Packard Secure OS
1.0 patch or re-packaging of the RPM affected by the advisory, the
RPMs have not been produced or tested by Hewlett-Packard.

---------------------------------------------------------------
PROBLEM:  Security vulnerability in OpenSSH.

PLATFORM: Any system running HP Secure OS software for Linux Release 1.0

DAMAGE:   Potential execution of commands by an intruder.

SOLUTION: Apply the appropriate RPMs (see section B below).

MANUAL ACTIONS: None

AVAILABILITY: The RPMs are available now.
 ---------------------------------------------------------------
 A. Background

    OpenSSH contains a vulnerability that permits an intruder to
    execute arbitrary code if the UseLogin directive is enabled.
    UseLogin is not enabled by default on HP Secure OS Software
    for Linux.

 B. Fixing the problem

    Hewlett-Packard recommends that customers download the RPMs 
    listed in the following Red Hat Security Advisory:
    http://www.redhat.com/support/errata/RHSA-2001-161.html


    To install the security advisory RPMs, use the following sequence
    of commands:

    1. If you use the tripwire product, we recommend that you run a 
       a consistency check and fix any violations before installing
       the security advisory RPM. 

           tripwire --check --interactive

    2. Install the advisory RPM from the root account.

           rpm -F <advisory RPM name>

    3. Update the tripwire database

           tripwire --check --interactive



    NOTE:
    The rpm -q <package name> command can be used to determine if the
    product is installed. Hewlett-Packard recommends applying the
    security advisory fixes to installed packages only. The -F option
    to the RPM installer will only apply the fix if the package is
    currently installed on the system. Dependent RPMs can be found by
    using the "Find Latest RPMs" search facility at
    http://www.redhat.com/apps/download. To find the latest dependent 
    RPM enter the RPM's name in the "By Keyword" box.
    

 C. To subscribe to automatically receive future NEW HP Security
    Bulletins from the HP IT Resource Center via electronic
    mail, do the following:

    Use your browser to access the HP IT Resource Center page
    at:

       http://itrc.hp.com

    Use the 'Login' tab at the left side of the screen to login
    using your ID and password.  Use your existing login or the
    "Register" button at the left to create a login. Remember to
    save the User ID assigned to you, and your password. This
    login provides access to many useful areas of the ITRC.

    In the leftmost frame select "Maintenance and Support".

    Under the "Notifications" section (near the bottom of
    the page), select "Support Information Digests".

    To -subscribe- to future HP Security Bulletins or other
    Technical Digests, click the check box (in the left column)
    for the appropriate digest and then click the "Update
    Subscriptions" button at the bottom of the page.

    or

    To -review- bulletins already released, select the link
    (in the middle column) for the appropriate digest.

 D. To report new security vulnerabilities, send email to

    security-alert@hp.com

    Please encrypt any exploit information using the
    security-alert PGP key, available from your local key
    server. You may also get the security-alert PGP key by
    sending a message with a -subject- (not body) of
    'get key' (no quotes) to security-alert@hp.com.

    Permission is granted for copying and circulating this
    Bulletin to Hewlett-Packard (HP) customers (or the Internet
    community) for the purpose of alerting them to problems,
    if and only if, the Bulletin is not edited or changed in
    any way, is attributed to HP, and provided such reproduction
    and/or distribution is performed for non-commercial purposes.

    Any other use of this information is prohibited. HP is not
    liable for any misuse of this information by any third party.
 ---------------------------------------------------------------
-----End of Document ID:  HPSBTL0112-005--------------------------------------

 
 


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 2022, SecurityGlobal.net LLC