Sec. Vulnerability in JRE

Sec. Vulnerability in JRE

Post by Security Ale » Sat, 24 Feb 2001 08:02:05


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