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


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

                             
                 ESB-97.122 -- Sun Security Bulletin #00154
                          Vulnerabilities in libX11
                             17 September 1997

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

Sun Microsystems, Inc. has released the following bulletin concerning a
a number of buffer overrun vulnerabilities in libX11, a library for the
X windows system.  These buffer overrun may be exploited, via a number of
setuid and setgid programs that use this library, to gain privileged
access.

The patches listed in this bulletin address new vulnerabilities not listed
in Sun Security Bulletin #00153 (AUSCERT ESB-97.110).

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 Microsystems 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:	#00154
Date: 			September 17, 1997
Cross-Ref:		
Title:			libX11
________________________________________________________________________________
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 libX11.

    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. Exploit information is publicly available.

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 vulnerabilities are fixed in Solaris 2.6.

3.  Understanding the Vulnerabilities

    libX11 is a library in the X Windows system. There are several buffers
    in libX11 that may be overflowed. The buffer overflow vulnerabilities may 
    be exploited through setuid and setgid programs that link libX11 to 
    increase privileges, including root privileges.
    
4.  List of Patches

    The vulnerabilities in libX11 are fixed by the following patches:

    OS version          Patch ID
    __________		________
    SunOS 5.5.1		103566-21		
    SunOS 5.5.1_x86	104241-03	
    SunOS 5.5		103210-21	
    SunOS 5.5_x86	104242-02	
    SunOS 5.4		102057-41	
    SunOS 5.4_x86	103185-02	
    SunOS 5.3		101362-51
    SunOS 4.1.4		100899-03
    SunOS 4.1.3_U1	100899-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
_______________   _________   __________   ________________________________
103566-21.tar.Z   58014 3555  65069 7109   9957BF7423D147E9CFAF877DF637A603
104241-03.tar.Z   11512 1450  52051 2899   C33B8EFD96A7BD22E07582E3C575669D
103210-21.tar.Z   13372 3651  11073 7301   619130609DBE46F7FFECAE89631E3A52
104242-02.tar.Z   55147 1415  30132 2830   83988AADB844139C744D3B81D4B2774F
102057-41.tar.Z   55014 2668  32935 5335   FDE4A6372ACA7CFD62F22DE4F424DEB2
103185-02.tar.Z   59698 1010  62623 2019   23B70F3AEBD6F0462053042FFC29E806
101362-51.tar.Z   26563 6475  50012 12949  B1F06E68F57745CC27328CFB88273349
100899-03.tar.Z   58461 417   51033 833    08C7D7AFFDE39C809F540BD907AA660B
_______________________________________________________________________________
Sun acknowledges with thanks Marko Laakso (University of Oulu, Finland)
for his assistance in the preparation of this bulletin.
_______________________________________________________________________________
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

iQCVAwUBNCApX7dzzzOFBFjJAQETvwP/fv4UHG/sRYvimSfGncS0J/OWFFoEIlCZ
d1fuFlYrpA1d6j2naNsq+fnOr6e9yt3N828mfRns14lB5JzYlX+jm2vbbjomnrXv
Q1xOO5/u/iNM1n8RKfv9X7nNBC1ia28iCcxyp4wB4065QlXlyXcfNx5QvAb19bkw
zSwW6iyyLsk=
=Iqnp
- -----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

iQCVAwUBNCEBhSh9+71yA2DNAQE6PgP9G9NyMNcE3RyLVY7OgB47aBD2qXGdjs4V
PMHPB3oVwdfwg2exH/onVyFDuUeC4pvTie4wUmYfFx+BolbOaJjvv2WU+A0yQhTo
nX0QEacPY4F5pabGNEsrdqhVCWJQLUsQNZpJ4wSRa6pKqBL7iTgxa1PHZ+ZO9CDq
ZfNbBUv4Q/4=
=fKog
-----END PGP SIGNATURE-----