AUSCERT External Security Bulletin Redistribution

       ESB-2001.082 -- HP Support Information Digests HPSBUX0102-141
                         Sec. Vulnerability in JRE
                             27 February 2001


        AusCERT Security Bulletin Summary

Product:                Java Runtime Environment
Vendor:                 Hewlett-Packard
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
                        HP9000 Series 800
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

Ref:                    ESB-2001.081

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

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

Document ID:  HPSBUX0102-141
Date Loaded:  20010221
      Title:  Sec. Vulnerability in JRE

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

  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 malicious Java code to execute unauthorized
         commands under certain circumstances.

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

POSSIBLE RESULT: Improper permission may be granted in some cases.

SOLUTION:  Install the latest Java releases as described below.

AVAILABILITY: The fixed releases are available immediately.
- ----------------------------------------------------------------------------
   A. Background

      A vulnerability in certain versions of the Java(TM) Runtime Environment
      may allow malicious Java code to execute unauthorized commands.  Since
      no permission is granted by default, the circumstances necessary to
      exploit this vulnerability are relatively rare.  On the Java
      Development Kit 1.1.x (JDKTM 1.1.x) (browsers included), an applet must
      be signed to have execute permission (signed applets may execute
      anything in JDK 1.1.x.).

      There are no known attacks reported based on this vulnerability to the
      best of Sun's knowledge.

   B. Fixing the problem
      Obtain and install the latest releases of the Java products listed in
      section C. below.

      For JDK/JRE 1.1, 1.2.2 and 1.3 based releases go to
      Section C. 1.) below will guide you in determining your
                     installed Java version on HP-UX.

   C. Recommended solution

         JDK and JRE or higher for HP-UX 10.20, 10.24 and 11.XX.
         JDK and JRE or higher for HP-UX 11.XX.
         JDK and JRE or higher for HP-UX 11.XX.

- -------------------------------------------------------------------------
 1.) HP-UX: Determining Java version information for JDK, JRE
- -------------------------------------------------------------------------
     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

        /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

- -------------------------------------------------------------------------
 2.) HP-UX: Determining Java version information for JPI
- -------------------------------------------------------------------------

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

     b.) 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

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

   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


      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.


      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 "The Security Bulletins Archive".  Once in
      the archive the third 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:


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

   E. 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:  HPSBUX0102-141--------------------------------------

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


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

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.

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