Title: Security vulnerability in executables for HP GlancePlus
Date Issued: January 7, 1997
Last Modified: January 7, 1997
Code: HPSBUX9701-044
Source: Hewlett-Packard
Title       : Security vulnerability in executables for HP GlancePlus
Date        : 970107
Type        : SB
Document ID : HPSBUX9701-044

--------------------------------------------------------------------------------

-----------------------------------------------------------------------
      HEWLETT-PACKARD SECURITY BULLETIN: #00044, 07 January 97
-----------------------------------------------------------------------

Hewlett-Packard recommends that 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.

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.

_______________________________________________________________________
PROBLEM:  Security vulnerability in executables for HP GlancePlus

PLATFORM: HP 9000 series 700 and 800s.

DAMAGE:   A vulnerability exists in the GlancePlus product which allows
          non-root users to gain root privileges.

SOLUTION: Apply patch PHSS_8231 for HP-UX 9.X on series 700
                      PHSS_8232 for HP-UX 9.X on series 800
                      PHSS_8233 for HP-UX 10.01 on series 700/800
                      PHSS_9116 for HP-UX 10.10 *   see note below
                      PHSS_9524 for HP-UX 10.10 **  see note below
                      PHSS_9117 for HP-UX 10.20

AVAILABILITY: All patches are available now.
_______________________________________________________________________

I. Glance Update

   A. Problem

      A vulnerability exists in the /usr/perf/bin or /opt/perf/bin
      programs Glance (for both series 700 and 800 systems).  The
      vulnerability allows non-root users to gain access to files
      regardless of ownership and permissions.  This could be exploited
      to gain root-level access.  The GlancePlus Motif (GPM) product
      version is NOT affected by this security fault, and therefore is
      not a part of the patch.

   B. Fixing the problem

      The problem can be eliminated by installing the latest release of
      the product, which contains a fix for this vulnerability along
      with new enhancements.

      The product version can be determined on 9.X systems using the
      command   "what /usr/perf/bin/glance" .


      The product version can be determined on 10.X systems using the
      command   "what /opt/perf/bin/glance" .


      The following table will help guide patch selection.

   PLATFORM  OS release   product version       Action required
   --------  ----------   ---------------       ---------------
   s700      HPUX 9.X      any                Apply patch  PHSS_8231
   s800      HPUX 9.X      any                Apply patch  PHSS_8232
   s700/800  HPUX 10.01    any                Apply patch  PHSS_8233
   s700/800  HPUX 10.10    B.10.13 only       Apply patch  PHSS_9116
   s700/800  HPUX 10.10  B.10.10 to B.10.12   Apply patch  PHSS_9524
   s700/800  HPUX 10.20    any                Apply patch  PHSS_9117

      NOTE: The * above indicates that this patch is applicable if the
         Glance product version is B.10.13.
         Similarly, ** applies if the Glance product version is B.10.10,
         B.10.11 or B.10.12.


      For HP-UX 9.X, a new version of Glance is available in the
      November 1996 Application Release which addresses the problem.
      All customers on support should already have access to this fixed
      release.

      The GlancePlus product for HP-UX 10.10 and 10.20 will be
      re-released on the HP-UX Application Software Release CD for
      January 1997.  The HP-UX 10.01 version of these fixes will only be
      available as a patch (number above).

      All customers with software support for GlancePlus will have access
      to the latest GlancePlus release media containing the fix.  If for
      some reason you do not have access to the latest media, contact
      your HP Response Center representative.

      Hewlett-Packard recommends that all GlancePlus customers concerned
      with the security of their HP-UX systems obtain and apply the
      patches above as soon as possible.

      As a workaround until the update can be applied, you may execute the
      following commands as the root user in order to restrict access to
      the product to only the root user:

      chmod 744 /usr/perf/bin/glance


   C. Impact of the patch

      The patches provide a new version of the necessary executables
      to fix the vulnerability.  Installation instructions are contained
      within the patches.


   D. Impact

      These patches for HP-UX releases 9.X and 10.X provide not only
      code to avoid this vulnerability but also enhancements to the
      functionality previously unavailable.


   E. To subscribe to automatically receive future NEW HP Security
      Bulletins from the HP SupportLine Digest service via electronic
      mail, do the following:

       1)  From your Web browser, access the URL:

       http://us-support.external.hp.com (US,Canada, Asia-Pacific, and
       Latin-America)

       http://europe-support.external.hp.com  (Europe)

       2)  On the HP Electronic Support Center main screen,
       select the hyperlink "Support Information Digests".

       3)  On the "Welcome to HP's Support Information Digests"
       screen, under the heading "Register Now", select the
       appropriate hyperlink "Americas and Asia-Pacific", or "Europe".

       4)  On the "New User Registration" screen, fill in the fields
       for the User Information and Password and then select the
       button labeled "Submit New User".


       5)  On the "User ID Assigned" screen, select the hyperlink
       "Support Information Digests".

       **Note what your assigned user ID and password are for future
         reference.

       6)  You should now be on the "HP Support Information Digests
       Main" screen.  You might want to verify that your email address
       is correct as displayed on the screen.  From this screen, you
       may also view/subscribe to the digests, including the security
       bulletins digest.

       To get a patch matrix of current HP-UX and BLS security
       patches referenced by either Security Bulletin or Platform/OS,
       click on following screens in order:
         Technical Knowledge Database
         Browse Security Bulletins
         Security Bulletins Archive
         HP-UX Security Patch Matrix


   F. To report new security vulnerabilities, send email to

          security-alert@hp.com

   Please encrypt 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
   security-alert@hp.com
________________________________________________________________________