-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

               ESB-2001.542 -- Sun Security Bulletin #00213
                                   login
                             18 December 2001

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                /bin/login
Vendor:                 Sun Microsystems
Operating System:       SunOS 5.8 (Solaris 8)
                        SunOS 5.7 (Solaris 7)
                        SunOS 5.6 (Solaris 2.6)
                        SunOS 5.5.1 (Solaris 2.5.1)
Platform:               i386
                        SPARC
Impact:                 Root Compromise
Access Required:        Remote

Ref:                    AL-2001.19

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----

________________________________________________________________________________
                   Sun Microsystems, Inc. Security Bulletin
                
Bulletin Number:   #00213
Date:              December 14, 2001            
Cross-Ref:         CERT Advisory CA-2001-34
Title:             login
________________________________________________________________________________

The information contained in this Security Bulletin is provided "AS IS." 
Sun makes no warranties of any kind whatsoever with respect to the information 
contained in this Security Bulletin. ALL EXPRESS OR IMPLIED CONDITIONS, 
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY WARRANTY OF NON-INFRINGEMENT OR 
IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ARE 
HEREBY DISCLAIMED AND EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW.

IN NO EVENT WILL SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY LOST REVENUE, 
PROFIT OR DATA, OR FOR DIRECT, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL 
OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF ANY THEORY OF LIABILITY 
ARISING OUT OF THE USE OF OR INABILITY TO USE THE INFORMATION CONTAINED IN 
THIS SECURITY BULLETIN, EVEN IF SUN MICROSYSTEMS, INC. HAS BEEN ADVISED OF 
THE POSSIBILITY OF SUCH DAMAGES.

If any of the above provisions are held to be in violation of applicable law, 
void, or unenforceable in any jurisdiction, then such provisions are waived 
to the extent necessary for this disclaimer to be otherwise enforceable in 
such jurisdiction.
________________________________________________________________________________


1.  Bulletins Topics

    Sun announces the release of patches for Solaris(tm) 8, 7, 2.6,
    and 2.5.1 (SunOS(tm) 5.8, 5.7, 5.6, and 5.5.1) which
    relate to a buffer overflow vulnerability in /bin/login.

    Sun recommends that you install the patches listed in section 4
    immediately on systems running SunOS 5.8, 5.7, 5.6, and 5.5.1.

2.  Who is Affected
                                       
    Vulnerable:               SunOS 5.8, 5.8_x86, 5.7, 5.7_x86, 5.6,
                              5.6_x86, 5.5.1, and 5.5.1_x86
                             
    
        
3.  Understanding the Vulnerability

    The login command is used at the beginning of each  terminal
    session  to identify oneself to the system. login is invoked
    by the system when a connection is first established,  after
    the  previous user has terminated the login shell by issuing
    the exit command.

    A buffer overflow has been discovered in login which may be
    exploited by a local or a remote attacker to gain root access
    on the affected system. This issue was discovered by ISS
    X-Force who published an advisory at:

    http://xforce.iss.net/alerts/advise105.php

    CERT Advisory CA-2001-34 is available from:

    http://www.cert.org/advisories/CA-2001-34.html
            
4.  List of Patches

    A Sun Security Bulletin is usually issued after patches are 
    available on SunSolve.  In this case, while the patches are
    not yet available, they are in the process of being pushed
    to external servers and should be downloadable in a very
    short time.
    
    OS Version               Patch ID
    __________               _________
    SunOS 5.8                111085-02
    SunOS 5.8_x86            111086-02
    SunOS 5.7                112300-01
    SunOS 5.7_x86            112301-01
    SunOS 5.6                105665-04
    SunOS 5.6_x86            105666-04
    SunOS 5.5.1              106160-02
    SunOS 5.5.1_x86          106161-02
                                       
______________________________________________________________________________
APPENDICES

A.  Patches listed in this bulletin are available to all Sun customers at:
    
    http://sunsolve.sun.com/securitypatch
    
B.  Checksums for the patches listed in this bulletin are available at:

    ftp://sunsolve.sun.com/pub/patches/CHECKSUMS

C.  Sun security bulletins are available at:

    http://sunsolve.sun.com/security
        
D.  Sun Security Coordination Team's PGP key is available at:

    http://sunsolve.sun.com/pgpkey.txt
                                    
E.  To report or inquire about a security problem with Sun software, contact 
    one or more of the following:
  
        - Your local Sun answer centers
        - Your representative computer security response team, such as CERT 
        - Sun Security Coordination Team. Send email to:
         
                security-alert@sun.com

F.  To receive information or subscribe to our CWS (Customer Warning System) 
    mailing list, send email to:
    
                security-alert@sun.com
   
    with a subject line (not body) containing one of the following commands:

        Command         Information Returned/Action Taken
        _______         _________________________________

        help            An explanation of how to get information
        
        key             Sun Security Coordination Team's PGP key
        
        list            A list of current security topics

        query [topic]   The email is treated as an inquiry and is forwarded to 
                        the Security Coordination Team

        report [topic]  The email is treated as a security report and is
                        forwarded to the Security Coordination Team. Please 
                        encrypt sensitive mail using Sun Security Coordination
                        Team's PGP key

        send topic      A short status summary or bulletin. For example, to 
                        retrieve a Security Bulletin #00138, supply the 
                        following in the subject line (not body):
                        
                                send #138

        subscribe       Sender is added to our mailing list.  To subscribe, 
                        supply the following in the subject line (not body):

                                subscribe cws your-email-address
                        
                        Note that your-email-address should be substituted
                        by your email address.
                        
        unsubscribe     Sender is removed from the CWS mailing list.
________________________________________________________________________________

Copyright 2001 Sun Microsystems, Inc. All rights reserved. Sun, 
Sun Microsystems, Solaris and SunOS are trademarks or registered trademarks 
of Sun Microsystems, Inc. in the United States and other countries. This 
Security Bulletin may be reproduced and distributed, provided that this 
Security Bulletin is not modified in any way and is attributed to 
Sun Microsystems, Inc. and provided that such reproduction and distribution 
is performed for non-commercial purposes.

- -----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBPBqJ1bdzzzOFBFjJAQHlfQP/WCgq/w7hY7DDmIaq90/gWhy9JplNN574
9dpumknwt8SMK+COwq4sNe0JQj32/q70y2sUAxFjMg8z5TzuX8vhMl8w4TufxUJ5
x8iJ+yUcGZ2sYNbzz2Fz0ClI6H3lISXVhxyQPPHWm9qZdp6Ee9+fgwHqbal8lBt6
tAv+OoE1Fn4=
=Lvzf
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

	http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:	(07) 3365 7031
Telephone:	(07) 3365 4417 (International: +61 7 3365 4417)
		AusCERT personnel answer during Queensland business hours
		which are GMT+10:00 (AEST).
		On call after hours for emergencies.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPB8riih9+71yA2DNAQGTdwP+Li8VektUO2JYj5oFA010EAv/gI675wz1
cenJNzhi5myuVolBuE3rwTYtNyL8b8LJO4ZzODktdyZy6yjzEt4JJDT0n0aNIuRF
nshgjNmoVjovbbSFhgUAwu+/1TlZPvgYRXXoSEYAroXISGyQicdahW2vhby3DL11
16qYeqjnjXo=
=mjDv
-----END PGP SIGNATURE-----