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

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

       ESB-2001.065 -- HP Support Information Digests HPSBUX0011-132
                   Sec. Vulnerability in JRE (revised01)
                             16 February 2001

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

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

Product:                Java Runtime Environment
Vendor:                 Sun Microsystems
Operating System:       HP-UX 10.20
                        HP-UX 10.24
                        HP-UX 11.00
                        HP-UX 11.04
                        HP-UX 11.11
Platform:               HP9000 Series 700/800
Impact:                 Increased Privileges
Access Required:        Remote

Ref:                    ESB-2000.381

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

Document ID:  HPSBUX0011-132
Date Loaded:  20010214
      Title:  Sec. Vulnerability in JRE (revised01)

- ----------------------------------------------------------------------
*REVISED01* HEWLETT-PACKARD COMPANY SECURITY BULLETIN: #0132, 30 NOV '00
Last Revised: 14 Feb. '01
- ----------------------------------------------------------------------
    The information in the following Security Bulletin should be
    acted upon as soon as possible.  Hewlett-Packard Company 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.
- ----------------------------------------------------------------------
ISSUE:   Sun Microsystems discovered a potential security issue
         in the Java Runtime Environment.  The issue poses a
         possible security risk by allowing an untrusted class
         to call into a disallowed class under certain
         circumstances.

PLATFORM: *REVISED01*
   --->>> This security bulletin applies to Java on HP9000 Series
   --->>> 700/800 running HP-UX releases 10.20, 10.24, 11.00, 11.04,
   --->>> and 11.11 only.  It does not cover software shipped on
          Linux nor on Windows/NT.

POSSIBLE RESULT: Improper access rights may be granted in some cases.

SOLUTION:  Install the latest Java releases as described below,
           and/or check your system for Java Plug-ins as outlined
           below.

AVAILABILITY: The fixed releases are available immediately.
CHANGE SUMMARY: Added VVOS releases 10.24 and 11.04.
                Updated JDK and JRE releases available.
- -----------------------------------------------------------------------
I.
  A. Background
     Java  1.1 and 1.2 applications may permit unauthorized access
     in some cases.

  B. Fixing the problem
     Obtain and install the latest releases of the Java products.
     For JDK/JRE 1.1 and JDK/JRE 1.2.2 based releases go to
              www.hp.com/go/java.
     Section C. 1.) below will guide you in determining your
       installed Java version on HP-UX.
     Section C. 2.) below guides you in checking your system
       for Java Plug-ins for Windows (OBAM product).

*REVISED01*
  C. Recommended solution
- --->>>JDK and JRE 1.1.8.04 or higher for HP-UX 10.20, 10.24, 11.00,
                              11.04 and 11.11.
- --->>>JDK and JRE 1.2.2.04 * or higher for HP-UX 11.00, 11.04 and 11.11.
- --->>>JDK and JRE 1.3.0.00 for HP-UX 11.XX

    * NOTE:  Version 1.2.2.04 is the minimum to resolve the issue
             addressed in this security bulletin.
- --->>>       However, JDK and JRE version 1.2.2.07 or later are
             preferred since they incorporate product quality
             enhancements.

- ----------------------------------------------------------------------
 1.) HP-UX: Determining Java version information for JDK, JRE, and JPI
- ----------------------------------------------------------------------
There are two mechanisms to determine which versions of the Java
JDK/SDK (developer kit), JRE (runtime), or JPI (Java Plugin for
Netscape) you have installed. First, you can use the following
command to list the bundle revisions for any installed Java
products:

      /usr/sbin/swlist -l bundle | grep -i java

Second, you can ask Java to identify itself by executing the
following:

      <path>/bin/java -version

where path is typically

      /opt/java - for Java 1.1
      /opt/java1.2 - for Java 1.2
      /opt/java1.3 - for Java 1.3

or is any alternate location where the JDK or JRE may have been
installed.

The plugin (JPI) is installed in user's home directories, so
you will need to check its version using the following.

For Java 1.2:

      $HOME/.netscape/java/bin/java -version

For Java 1.1, you must use:

      what $HOME/.netscape/java/bin/PA_RISC/green_threads/jre

Note: Do not rely on Netscape's Help/About_Plug-ins menu to find the
version number of the Plugin, because in some cases the version
number is incorrect.

    a.) Unplugging the Plugin (Since the Plugin is manually
        installed into Netscape, it must be manually removed as well.)

    If you have a plugin that you wish to remove because it has a
    security issue, in addition to doing a swremove of the product
    you must also do the following for Java 1.1 and Java 1.2:

    rm -f $HOME/.netscape/plugins/javaplugin.sl
    rm -rf $HOME/.netscape/java


- ----------------------------------------------------------------------
 2.) Determining Java Runtime Environment (JRE) version information
     for HP-UX 10.20 and 11.00, and Java Plug-in for Microsoft
     Windows which is shipped as part of the ServiceControl Manager
     product (HP-UX 10.20 and 11.00)
- ----------------------------------------------------------------------

The Java Runtime Environment for HP-UX and the Java Plug-in for
Microsoft Windows are delivered as part of the ServiceControl Manager
product.  The versions of Java Runtime Environment and Java Plug-in
which shipped with the ServiceControl Manager product in Application
Release 49 (6/00) and Application Release 50 (9/00) are subject to
this vulnerability; the versions of ServiceControl Manager beginning with
Application release 51 (12/00) and HP-UX release 11.i have repaired
versions of the Java Runtime Environment and Java Plug-in and are NOT
subject to this vulnerability.


PART ONE

To determine if your HP-UX 10.20 or 11.00 system is vulnerable,
perform the following command on the HP-UX system:

        swlist -l product OBAM ServControlMgr

If the swlist output contains any of the lines listed below, your
HP-UX system is subject to this vulnerability.  If the swlist output
does not contain any of the lines below, skip to PART TWO to determine
if you have a related vulnerability.

  OBAM                  B.11.00.05.0.17 Object Action Manager user
                          interface framework for HP-UX tools
  OBAM                  B.11.00.05.1.04 Object Action Manager user
                          interface framework for HP-UX tools
  ServControlMgr        A.01.00     HP-UX ServiceControl Manager
  ServControlMgr        A.01.01     HP-UX ServiceControl Manager
  ServControlMgr        A.01.01.01  HP-UX ServiceControl Manager

If your HP-UX system is subject to this vulnerability, retrieve the
most recent version (A.02.02 or later) of ServiceControl Manager
bundle B8337BA from the HP web site:

         http://www.hp.com/go/servicecontrol

Follow the link to ServiceControl Manager B8337BA bundle, then follow
the instructions to install version A.02.02 or later of that bundle.


PART TWO

If you have installed the Java Plug-in for Microsoft Windows on a PC
according to the instructions provided with ServiceControl Manager,
that PC may be vulnerable.  To determine if a PC is subject to this
vulnerability, open a DOS window and execute the command "jre -help".
Among other things, the Java version is displayed.  If the version
string displayed is "1.1.8" , the PC is subject to this vulnerability.
If the version string is "1.1.8_005", the PC is not subject to this
vulnerability.

Any other version string is not compatible with the OBAM versions
identified above, and indicates that you installed the Java Plug-in
from a source other than the OBAM versions mentioned above.  Check
with that source to determine whether your Java Plug-in is subject to
this vulnerability.

On each PC that has installed the Java Plug-in for Microsoft Windows
from a vulnerable HP-UX system, do one of the following:

    a.  Remove the Java Plug-in by opening Control Panel - Add/Remove
Programs, selecting "Java Plug-in 1.1.3" and choosing "Add/Remove".
Note that removing the Java Plug-in will disallow accessing
ServiceControl Manager from this PC.

    -or-

    b.  Update the Java Plug-in by installing the fixed version, which
you downloaded in PART ONE above.  You can find instructions on how to
perform this installation at the following URL (substitute the
hostname of your Central Management Server where indicated):

         http://yourhost:1188/mx/

Follow the "Configure Browser" link and re-install the Java Plug-in
on your PC.

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

   D. To subscribe to automatically receive future NEW HP Security
      Bulletins from the HP IT Resource Center via electronic mail,
      do the following:

      Use your browser to get to the HP IT Resource Center page
      at:

       http://itrc.hp.com

      Under the Maintenance and Support Menu (Electronic Support
      Center):  click on the "more..." link.  Then -

      Use the 'Login' tab at the left side of the screen to login
      using your ID and password.  Check with your system
      administrator to see if you have an existing login or use
      the "Register" button at the left to create a login.  You
      will need to login in order to gain access to many areas of
      the ITRC. Remember to save the User ID assigned to you, and
      your password.

      Under the Maintenance and Support Menu, click on the "more..."
      link.  Under the "Notifications" section (near the bottom of
      the page), select "Support Information Digests".

      To -subscribe- to future HP Security Bulletins or other
      Technical Digests, click the check box (in the left column)
      for the appropriate digest and then click the "Update
      Subscriptions" button at the bottom of the page.

      or

      To -review- bulletins already released, select the link
      (in the middle column) for the appropriate digest.

      To -gain access- to the Security Patch Matrix, select
      the link for "hp security bulletins archive" near the bottom.
      Once in the archive the top link is to our current Security
      Patch Matrix.  Updated daily, this matrix categorizes security
      patches by platform/OS release, and by bulletin topic.

      The security patch matrix is also available via anonymous ftp:

      ftp.itrc.hp.com
      ~ftp/export/patches/hp-ux_patch_matrix"

      On the "Support Information Digest Main" page:
      click on the "HP Security Bulletin Archive".

   E. To report new security vulnerabilities, send email to

      security-alert@hp.com

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

      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:  HPSBUX0011-132--------------------------------------


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

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

iQCVAwUBOo09nCh9+71yA2DNAQEINQP/YpfGje3zm/yBoLS9moCRlay4boPhJcWP
2tpQYgwLmkCGfmqaFLDYm0GJtEHv5dj65JplWunLqd+SPqyGnR4Ai6XHAFoRKRb8
sCtorxKe/UwxOsgtt8jL8a1A8C1Swd6JWSXUPhwJIQY85Pb1Vc3c+kSbT3fw2183
+C2DLqTKTYE=
=e4jr
-----END PGP SIGNATURE-----