RSI.0007.05-26-98.SUN.LIBAUTH

From: RSI Advise (adviseat_private)
Date: Tue Aug 04 1998 - 22:34:16 PDT

  • Next message: Kragen: "Re: Object tag crashes Internet Explorer 4.0"

    RSI.0007.05-26-98.SUN.LIBAUTH
    
    
               |:::.  |::::: |::::.        |::::: |::::: |::::.
               ..  :: ..     ..  ::        ..     ..     ..  ::
               |::::  |::::  |::::  :::::: |::::: |::::  |:
               |:  :: |:     |:               |:: |:     |:  ::
               |:  :: |::::: |:            |::::: |::::: |:::::
    
    
                       Repent Security Incorporated, RSI
                           [ http://www.repsec.com ]
    
    
                           *** RSI ALERT ADVISORY ***
    
    
    --- [CREDIT] --------------------------------------------------------------
    
    Matt Conover: Discovered vulnerability
    Mark Zielinski: Author of advisory
    
    
    --- [SUMMARY] -------------------------------------------------------------
    
    Announced:     Aug 4, 1998
    Report code:   RSI.0007.05-26-98.SUN.LIBAUTH
    Report title:  Sun Microsystem's library libauth
    Vulnerability: Insufficient bounds checking
    Vendor status: Vendor was contacted on May 26, 1998
    Patch status:  No patch currently available
    Platforms:     Solaris 2.2, 2.3, 2.4, 2.5, 2.5.1, 2.6
    Vulnerable:    Several libary functions in libauth have buffer overflows
    Reference:     http://www.repsec.com/advisories.html
    Impact:        If exploited, an attacker could potentially compromise
                   local root access on your server
    
    
    --- [DETAILS] -------------------------------------------------------------
    
    Problem:       Two buffer overflows exist in Sun Microsystem's libauth
                   library.
    
                   When ia_open_session () is called, it copies both the
                   connecting hostname and username into seperate local
                   buffers with no bounds checking.  ia_open_session ()
                   attempts to write the information passed to it into these
                   buffers to maintain utmpx information on the user logging
                   into the system.  Because these buffers are set at a fixed
                   value of 257 bytes, it is possible to cause a buffer
                   overflow.
    
                   While overwriting the buffer, the attacker can manipulate
                   the stack and execute their own commands, possibly gaining
                   root access on the system.
    
                   Functions we have found vulnerable:
                   ---------------------------------------------------
    
                   ia_open_session ()      : Copies information passed to it
                                             into two local buffers which can
                                             result in a buffer overflow.
    
                   Potentially vulnerable programs
                   ----------------------------------------------------
    
                     1. login
                     2. in.ftpd
                     3. in.uucpd
                     4. rpc.rexd
    
                   These vulnerabilities are present in Sun Microsystems
                   Solaris 2.2, 2.3, 2.4 2.5, 2.5.1 and 2.6.
    
                   For more information on this type of attack, point your
                   web browsers to http://www.repsec.com/bofs.html.
    
    
    --- [FIX] -----------------------------------------------------------------
    
    Solution:      No fixes are currently available.
    
    
    --- [PATCH] ---------------------------------------------------------------
    
    Solution:      Wait for Sun Microsystems to release an official patch.
    
    
    ---------------------------------------------------------------------------
    
    Repent Security Incorporated (RSI)
    13610 N. Scottsdale Rd.
    Suite #10-326
    Scottsdale, AZ 85254
    
    E-mail: adviseat_private
    WWW: http://www.repsec.com
    FTP: ftp://ftp.repsec.com
    
    ---------------------------------------------------------------------------
    
    -----BEGIN PGP PUBLIC KEY BLOCK-----
    Version: 2.6.2
    
    mQCNAzU6dqAAAAEEAOHt9a5vevjD8ZjsEmncEbFp2U7aeqvPTcF/8FJMilgOVp75
    dshXvZixHsYU7flgCNzA7wLIQPWBQBrweLG6dx9gE9e5Ca6yAJxZg8wNsi06tZfP
    nvmvf6F/7xoWS5Ei4k3YKuzscxlyePNNKws6uUe2ZmwVoB+i3HHT44dOafMhAAUT
    tBpSZXBTZWMgPGFkdmlzZUByZXBzZWMuY29tPg==
    =ro8H
    -----END PGP PUBLIC KEY BLOCK-----
    
    Copyright August 1998  RepSec, Inc.
    
    The information in this document is provided as a service to customers
    of RepSec, Inc.  Neither RepSec, Inc., nor any of it's employees, makes
    any warranty, express or implied, or assumes any legal liability or
    responsibility for the accuracy, completeness, or usefulness of any
    information, apparatus, product, or process contained herein, or
    represents that its use would not infringe any privately owned rights.
    Reference herein to any specific commercial products, process, or
    services by trade name, trademark, manufacturer, or otherwise, does not
    necessarily constitute or imply its endorsement, recommendation or
    favoring by RepSec, Inc.  The views and opinions of authors express
    herein do no necessarily state or reflect those of RepSec, Inc., and may
    not be used for advertising or product endorsement purposes.
    
    The material in this alert advisory may be reproduced and distributed,
    without permission, in whole or in part, by other security incident
    response teams (both commercial and non-commercial), provided the above
    copyright is kept intact and due credit is given to RepSec, Inc.
    
    This alert advisory may be reproduced and distributed, without
    permission, in its entirety only, by any person provided such
    reproduction and/or distribution is performed for non-commercial
    purposes and with the intent of increasing the awareness of the Internet
    community.
    
    ---------------------------------------------------------------------------
    
    RepSec, Inc. are trademarks of RepSec, Inc.  All other trademarks are
    property of their respective holders.
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:11:16 PDT