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

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

                             
                 ESB-97.135 -- Sun Security Bulletin #00156
                                ftpd/rlogind
                               29 October 1997

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

Sun Microsystems, Inc. has released the following advisory concerning a
vulnerability in an interaction between the ftp and rlogin daemons.  This
vulnerability may allow an unprivileged user to connect from an ftp server's
data port to a rlogin server on a host that trusts the host that the ftp
server resides on and execute arbitary commands on the attacked host.

The following security bulletin is provided as a service to AUSCERT's
members.  As AUSCERT did not write this document, AUSCERT has had no
control over its content.  As such, 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.

Contact information for Sun is included in the Security Bulletin below.
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 4477
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 INCLUDED TEXT--------------------

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

________________________________________________________________________________
 		   Sun Microsystems, Inc. Security Bulletin
 		
Bulletin Number:	#00156
Date: 			October 28, 1997
Cross-Ref:		
Title:			ftpd/rlogind
________________________________________________________________________________
Permission is granted for the redistribution of this Bulletin, so long as 
the Bulletin is not edited and is attributed to Sun Microsystems. Portions 
may also be excerpted for re-use in other security advisories so long as 
proper attribution is included.

Any other use of this information without the express written consent of 
Sun Microsystems is prohibited. Sun Microsystems expressly disclaims all 
liability for any misuse of this information by any third party.
________________________________________________________________________________

1.  Bulletins Topics

    Sun announces the release of patches for Solaris 2.5.1, 2.5, 2.4, 2.3,   
    (SunOS 5.5.1, 5.5, 5.4, 5.3), SunOS 4.1.4, and 4.1.3_U1, which relate 
    to vulnerabilities in ftpd/rlogin.

    Sun strongly recommends that you install the patches listed in section 4 
    immediately on systems running SunOS 5.5.1, 5.5, 5.4, 5.3, 4.1.4, and
    4.1.3_U1. 

2.  Who is Affected
	
    Vulnerable:  SunOS versions 5.5.1, 5.5.1_x86, 5.5, 5.5_x86,
                                5.4, 5.4_x86, 5.3, 4.1.4, and 4.1.3_U1
     		
    The vulnerability is fixed in Solaris 2.6.

3.  Understanding the Vulnerability

    The daemon in.ftpd is the Internet File Transfer Protocol (FTP) server
    process and the daemon in.rlogind is the rlogin server process. This 
    vulnerability, if exploited, allows an unprivileged user to connect from 
    an ftp server's data port to a rlogin server on a host that trusts the host
    that the ftp server resides on. If exploited, attackers may execute 
    arbitrary commands on the attacked host.

4.  List of Patches

    The vulnerability in ftpd/rlogind is fixed by the following patches:

    OS version          Patch ID
    __________		________
    SunOS 5.5.1		103603-05
    			104935-01		
    SunOS 5.5.1_x86	103604-05
    			104936-01	
    SunOS 5.5		103577-06
    			104933-01	
    SunOS 5.5_x86	103578-06
    			104934-01	
    SunOS 5.4		101945-51	
    SunOS 5.4_x86	101946-45
    SunOS 5.3		104938-01
    SunOS 4.1.4		104477-03
    SunOS 4.1.3_U1	104454-03	

5.  Checksum Table

    The checksum table below shows the BSD checksums (SunOS 4.1.x: /bin/sum; 
    SunOS 5.x: /usr/ucb/sum), SVR4 checksums (SunOS 4.1.x: /usr/5bin/sum; 
    SunOS 5.x: /usr/bin/sum), and the MD5 digital signatures for the 
    above-mentioned patches that are available from:
     
     	<URL:ftp://sunsolve1.sun.com/pub/patches/patches.html>
     	
    These checksums may not apply if you obtain patches from your answer
    centers. 

File Name	  BSD	      SVR4	   MD5
_______________   _________   __________   _______________________________
103603-05.tar.Z   35241 180   26091 359    F88341AFCA8E0BDA0CDA3D5D643A0A6B
104935-01.tar.Z   37614 91    8235 182     DC35D86C7E10AC808822C579B3D2768E
103604-05.tar.Z   32337 169   1518 338     7DE29C6ADBE421BE0205FB073037F20A
104936-01.tar.Z   56022 96    15068 192    E7121D9A75034D1265B7284129A55D89
103577-06.tar.Z   40184 179   1545 358     F5A34940EAD0745BC7E156DF789B49AC
104933-01.tar.Z   00691 91    46319 182    812B7A3A003F7A0A4E51F142FB7DF178
103578-06.tar.Z   04500 169   16233 338    EBAE43827BB84B7CD199B379D5FF362E
104934-01.tar.Z   61481 96    2099 192     AFF2D82DFB54620D8E86CE81873F4A83
101945-51.tar.Z   19354 10914 1335 21827   A654CCB9C09E8E9AE8E96F6977BF7AB5
101946-45.tar.Z   54871 5544  58856 11087  B9CFDA275F39F1F28031DF7B4F39C275
104938-01.tar.Z   00944 107   30171 213    692E6E7298068AF81398AE17220F8BB0
104477-03.tar.Z   44658 85    10415 170    E36EF932BE48BE3A88552B29C00EC748
104454-03.tar.Z   37033 85    18242 170    D58ABFDEC3A15795353854F19DAD158B
_______________________________________________________________________________
Sun acknowledges with thanks AUSCERT for their assistance in the preparation 
of this bulletin.

Sun and AUSCERT are members of FIRST, the Forum of Incident Response Teams. 
For more information about FIRST, visit the FIRST web site at 
"http://www.first.org/".
_______________________________________________________________________________
APPENDICES

A.  Patches listed in this bulletin are available to all Sun customers via 
    World Wide Web at:
    
    	<URL:ftp://sunsolve1.sun.com/pub/patches/patches.html>
    	
    Customers with Sun support contracts can also obtain patches from local 
    Sun answer centers and SunSITEs worldwide.

B.  Sun security bulletins are available via World Wide Web at:

	<URL:http://sunsolve1.sun.com/sunsolve/secbulletins>
	
C.  Sun Security Coordination Team's PGP key is available via World Wide Web 
    at:

	<URL:http://sunsolve1.sun.com/sunsolve/secbulletins/SunSCkey.txt>
		    	    	    
D.  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

E.  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 Coordinaton 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.
________________________________________________________________________________



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

iQCVAwUBNFVP8LdzzzOFBFjJAQHHFAP+PEpCnOBLL7FAXl/6Cf14RgUSFYl/4AHx
NrhPREq2Bag8Frq6/Ky1KnkYkn2Z/qz3VoWB8fUQrZTT1dFgLBA7uGEsHosAWA+Z
UO+NgnXZnunt2R/JVNf/5nUoRQa983x+CDsWfEV1RIOMw/NFgn6hz3Dz33C3bHmd
r7dclaqXz9k=
=DJGM
- -----END PGP SIGNATURE-----

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


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

iQCVAwUBNFcI0yh9+71yA2DNAQFjiwP9EVs2ApVZ+Yrj50dOUlrpG6hVEKZ8qVJF
/gVzJ/aLqqMMx8YpS7KKlmidsdPbLygHXBoNDdlS3EAbMCBvZ3yVYq4KokkTvRxD
VGJ9yahrAD5q7hgN3iUq9lQ7DFzsSqR91xyHZEe2fblp2jBUA0N3FpdBT+o+0oUG
L7yn9Iws3F4=
=IT4P
-----END PGP SIGNATURE-----