AUSCERT External Security Bulletin Redistribution

           ESB-97.063 -- REVISED 01 Hewlett-Packard Security Bulletin
	      Security Vulnerability in libXt for HP-UX 9.X & 10.X
                                15 May 1997


Hewlett-Packard has released the following revised advisory concerning a
buffer overflow in the Xt library of the X Window System made freely
available by The Open Group. Platforms that have X applications built with
the setuid or setgid bits set may be vulnerable to buffer overflow
conditions. This vulnerability may allow local users to execute arbitrary
instructions as a privileged user without authorization.

The information in this bulletin supersedes the patch information 
for Hewlett-Packard provided in Appendix A of CERT/CC advisory
CA-97.11 - Vulnerability in libXt, released as AUSCERT ESB-97-054.

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 Hewlett-Packard is included in the Security Bulletin
below.  If you have any questions or need further information, please
contact them directly.

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

Previous advisories and external security bulletins can be retrieved from:


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--------------------

- -------------------------------------------------------------------------
Last Revised: 13 May 1997
- -------------------------------------------------------------------------

The information in the following Security Bulletin should be acted upon
as soon as possible.  Hewlett Packard will not be liable for any
consequences to any customer resulting from customer's failure to fully
implement instructions in this Security Bulletin as soon as possible.

- -------------------------------------------------------------------------
PROBLEM:   Buffer overflow condition in libXt/Error.c

PLATFORM:  HP 9000 series 700/800 systems running version 9.X or 10.X

DAMAGE:    Users could increase privileges.

SOLUTION:  Apply the patches listed below and relink any suid/sgid
           programs that use libXt.a.  Programs that use the shared
           library libXt.sl require no action other than loading
           the patches.

AVAILABILITY: All patches are available now.

CHANGE SUMMARY:  Correct patches for HP-UX 10.10 now included.
- -------------------------------------------------------------------------
   A. Background
      A buffer overflow condition has been identified in the Xt
      library.  This can be exploited using suid/sgid programs
      to increase privileges.

   B. Fixing the problem
      Apply the library patches and relink any suid/sgid programs
      that are linked with the archived version of libXt.

   C. Recommended solution
        Install the applicable patches:

       PHSS_10167       9.X   X11R5/Motif1.2  Runtime
       PHSS_10168       9.X   X11R5/Motif1.2  Development

       PHSS_9809        10.0X  X11R5/Motif1.2  Runtime (also for 10.10)
       PHSS_9810        10.0X  X11R5/Motif1.2  Development

       PHSS_9809        10.10  X11R5/Motif1.2  Runtime (also for 10.0X)
       PHSS_9811        10.10  X11R5/Motif1.2  Development

       PHSS_10688       10.20 X11R5/Motif1.2  Runtime
       PHSS_9813        10.20 X11R5/Motif1.2  Development

       PHSS_10789       10.20 X11R6/Motif1.2  Runtime
       PHSS_9815        10.20 X11R6/Motif1.2  Development

       Then relink as indicated above.

   D. Impact of the patch

      Installs new versions of X11R5 or X11R6 and Motif1.2.

   E. To subscribe to automatically receive future NEW HP Security
      Bulletins from the HP Electronic Support Center via electronic
      mail, do the following:

      User your browser to get to the HP Electronic Support Center
      page at:

        (for US, Canada, Asia-Pacific, & Latin-America)

        (for Europe)

      Click on the Technical Knowledge Database, register as a user
      (remember to save the User ID assigned to you, and your password),
      and it will connect to a HP Search Technical Knowledge DB page.
      Near the bottom is a hyperlink to our Security Bulletin archive.
      Once in the archive there is another link to our current
      security patch matrix. Updated daily, this matrix is categorized
      by platform/OS release, and by bulletin topic.

   F. To report new security vulnerabilities, send email to


       Please encrypt any exploit information using the security-alert
       PGP key, available from your local key server, or by sending a
       message with a -subject- (not body) of 'get key' (no quotes) to

      Permission is granted for copying and circulating this Bulletin to
      Hewlett-Packard (HP) customers (or the Internet community) for the
      purpose of alerting them to problems, if and only if, the Bulletin
      is not edited or changed in any way, is attributed to HP, and
      provided such reproduction and/or distribution is performed for
      non-commercial purposes.

      Any other use of this information is prohibited. HP is not liable
      for any misuse of this information by any third party.
- -----End of Document ID:  HPSBUX9704-058--------------------------------------

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

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