[ISN] RSI.0010.10-21-98.IRIX.AUTOFSD Advisory

From: mea culpa (jerichot_private)
Date: Wed Oct 21 1998 - 17:12:36 PDT

  • Next message: mea culpa: "[ISN] FBI, Police May Tap Cell Phones"

    RSI.0010.10-21-98.IRIX.AUTOFSD
    
    
    
               |:::.  |::::: |::::.        |::::: |::::: |::::.
               ..  :: ..     ..  ::        ..     ..     ..  ::
               |::::  |::::  |::::  :::::: |::::: |::::  |:
               |:  :: |:     |:               |:: |:     |:  ::
               |:  :: |::::: |:            |::::: |::::: |:::::
    
    
                       Repent Security Incorporated, RSI
                           [ http://www.repsec.com ]
    
    
    		       *** RSI ALERT ADVISORY ***
     
    
    --- [CREDIT] --------------------------------------------------------------
    
    Mark Zielinski : Discovered the vulnerability, author of the advisory
    
    
    --- [SUMMARY] -------------------------------------------------------------
    
    Announced:     October 2, 1998
    Report code:   RSI.0010.10-21-98.IRIX.AUTOFSD
    Report title:  IRIX autofsd
    
    Vulnerability: Please see the details section 
    Vendor status: SGI contacted on October 2, 1998
    Patch status:  No patch is currently available
    
    Platforms:     IRIX 6.2, 6.3, 6.4, 6.5
    
    Reference:     http://www.repsec.com/advisories.html
    Impact:        If exploited, an attacker could potentially compromise
                   root access locally on your server
    
    NOTE:          IRIX versions 5.3, 6.0, and 6.1 were NOT tested, however
                   they could be subject to the same vulnerability.
    
    
    --- [DETAILS] -------------------------------------------------------------
    
    Description:   Autofsd is an RPC server which answers file system mount
                   and umount requests from the autofs file system.  It uses  
                   local files or name service maps to locate file systems to
                   be mounted.
    
    Problem:       Users locally on the system can send requests to the
                   autofsd daemon and execute arbitrary commands as the
                   superuser.
    
                   Upon receiving a map argument from a client,
                   the server will attempt to verify if it is executable 
                   or not.  If autofsd determines the map has an executable
                   flag, the server will append the client's key and attempt
                   to execute it.
    
                   By sending a map name that is executable on the server,
                   and a key beginning with a semicolon or a newline followed
                   by a command, unprivileged users can execute arbitrary
                   commands as the superuser.
    
                   The problem occurs when the server appends the key
                   to the map and attempts to execute it by calling
                   popen.
    
                   Since popen executes the map and key you specify by
                   invoking a shell, it is possible to force it into executing
                   commands that were not meant to be executed.
    
    
    --- [FIX] -----------------------------------------------------------------
    
    Solution:      Do not run autofsd until a patch is released for the
                   version of IRIX you are running.
    
    
    ---------------------------------------------------------------------------
    
    Repent Security Incorporated (RSI)
    13610 N. Scottsdale Rd.
    Suite #10-326
    Scottsdale, AZ 85254
    
    E-Mail: adviset_private
    FTP: ftp://ftp.repsec.com
    WWW: http://www.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 October 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. 
    
    -o-
    Subscribe: mail majordomot_private with "subscribe isn".
    Today's ISN Sponsor: Repent Security Incorporated [www.repsec.com]
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 13:08:28 PDT