SSRT061108 rev.2 - HP Systems Insight Manager Remote Unauthorized Access - Directory Traversal
HPSBMA02096
Published: 2006-02-07 00:00:00
Updated: 2006-02-07 00:00:00

HPSBMA02096 SSRT061108 rev.2 - HP Systems Insight Manager Remote
Unauthorized Access - Directory Traversal

NOTICE: The information in this Security Bulletin should be acted
upon as soon as possible.

Release Date: 2006-02-06
Last Updated: 2006-02-07

Potential Security Impact: Remote unauthorized access via
directory traversal

Source: Hewlett-Packard Company,
        HP Software Security Response Team

VULNERABILITY SUMMARY
Potential security vulnerabilities have been identified with HP
Systems Insight Manager (SIM) versions 4.0 and 5.0 running on
Microsoft Windows. The potential vulnerabilities could be
exploited to allow remote unauthorized access to files via
directory traversal.

References: CVE-2005-2006

SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
HP SIM 4.2, HP SIM 4.2 SP1, HP SIM 4.2 SP2,
HP SIM 5.0, HP SIM 5.0 SP1, HP SIM 5.0 SP2, HP SIM 5.0 SP3
running on Microsoft Windows 2000, Windows 2003, Windows XP.

BACKGROUND

The Hewlett-Packard Company thanks
Matthew Cook (http://escarpment.net/), Loughborough University and
Paul Whitton (http://splurby.net/), Loughborough University
for reporting this vulnerability to security-alert@hp.com.

Two potential directory traversal vulnerabilities have been
identified within HP Systems Insight Manager.

The first is a potential vulnerability associated with the use of
JBOSS 3.2.7 which could allow an unauthorized user access to files
on the local file system. This issue is identified by the
following candidate for Common Vulnerabilities and Exposures(CVE):

CVE-2005-2006 - JBOSS 3.2.2 through 3.2.7 and 4.0.2 allows remote
attackers to obtain sensitive information via a GET request.

The following URL at the Common Vulnerabilities and Exposures(CVE)
website can be used to find more detailed information regarding
the above listed CVE numbers: http://www.cve.mitre.org/

The affected versions for the first potential vulnerability
related to CVE-2005-2006 are:

HP SIM 5.0
HP SIM 5.0 SP1
HP SIM 5.0 SP2
HP SIM 5.0 SP3
Only for Microsoft Windows 2000, Windows 2003, Windows XP.

The affected versions for the second potential vulnerability are:

HP SIM 4.2
HP SIM 4.2 SP1
HP SIM 4.2 SP2
HP SIM 5.0
HP SIM 5.0 SP1
HP SIM 5.0 SP2
HP SIM 5.0 SP3
Only for Microsoft Windows 2000, Windows 2003, Windows XP.


RESOLUTION

These issues can be addressed by manually editing configuration
files in the HP SIM installation as described below.

First Issue (CVE-2005-2006):

This requires a single line modification to an XML configuration
file. The affected file is located in the
  <installdir>/jboss/server/hpsim/conf
directory and is called jboss-service.xml

Note: <installdir> is the base directory where HP SIM is
installed. A typical default installation would be
"C:\program files\hp\Systems Insight Manager"~T.

First the file should be copied to a backup location. If there are
problems in the editing process the original file can be restored.

Next edit the jboss-service.xml file and search for 50013. The
following text will be seen:

<mbean code="org.jboss.web.WebService"
   name="jboss:service=WebService">
   <attribute name="Port">50013</attribute>
   <!-- Should resources and non-EJB classes be downloadable -->
   <attribute name="DownloadServerClasses">true</attribute>
   <attribute name="Host">${jboss.bind.address}</attribute>
   <attribute name="BindAddress">${jboss.bind.address}</attribute>
</mbean>

Change the following line:

<attribute name="DownloadServerClasses">true</attribute>

To:

<attribute name="DownloadServerClasses">false</attribute>


After editing the text should look like this:

<mbean code="org.jboss.web.WebService"
   name="jboss:service=WebService">
   <attribute name="Port">50013</attribute>
   <!-- Should resources and non-EJB classes be downloadable -->
   <attribute name="DownloadServerClasses">false</attribute>
   <attribute name="Host">${jboss.bind.address}</attribute>
   <attribute name="BindAddress">${jboss.bind.address}</attribute>
</mbean>

Save the file. After applying the change for the second issue
(below) restart HP SIM.

Second Issue:

This requires a single line modification to a resource file. The
affected file is located in the
   <installdir>\hpwebadmin\webapps\mxhelp\WEB-INF\cgi
directory and is called .namazurc

Note: <installdir> is the base directory where HP SIM is
installed. A typical default installation would be
"C:\program files\hp\Systems Insight Managerr".

First the file should be copied to a backup location. If there are
problems in the editing process the original file can be restored.

Next edit the .namazurc file and search for #Lang. The following
text will be seen:

   #Lang ja

If the HP SIM installation is an English language installation
change the line to:

   Lang en

If the HP SIM installation is a Japanese language installation
change the line to:

   Lang ja_JP.SJIS

Note: Make sure to remove the # at the beginning of the line.

Save the file and restart HP SIM.

This Security Bulletin will be revised if other solutions become
available.


HISTORY
Version:1(rev.1) 6 February 2006 Initial release
Version:2(rev.2) 7 February 2006 add HP SIM 4.2 SP2



Support: For further information, contact normal HP Services
support channel.

Report: To report a potential security vulnerability with any HP
supported product, send Email to: security-alert@hp.com.  It is
strongly recommended that security related information being
communicated to HP be encrypted using PGP, especially exploit
information.  To get the security-alert PGP key, please send an
e-mail message as follows:
  To: security-alert@hp.com
  Subject: get key

Subscribe: To initiate a subscription to receive future HP
Security Bulletins via Email:
http://h30046.www3.hp.com/driverAlertProfile.php?regioncode=NA&amp;
langcode=USENG&amp;jumpid=in_SC-GEN__driverITRC&amp;topiccode=ITRC

On the web page: ITRC security bulletins and patch sign-up
Under Step1: your ITRC security bulletins and patches
  - check ALL categories for which alerts are required and
    continue.
Under Step2: your ITRC operating systems
  - verify your operating system selections are checked and
    save.

To update an existing subscription:
http://h30046.www3.hp.com/subSignIn.php
Log in on the web page:
  Subscriber's choice for Business: sign-in.
On the web page:
  Subscriber's Choice: your profile summary
    - use Edit Profile to update appropriate sections.

To review previously published Security Bulletins visit:
http://www.itrc.hp.com/service/cki/secBullArchive.do

* The Software Product Category that this Security Bulletin
relates to is represented by the 5th and 6th characters of the
Bulletin number in the title:

    GN = HP General SW,
    MA = HP Management Agents,
    MI = Misc. 3rd party SW,
    MP = HP MPE/iX,
    NS = HP NonStop Servers,
    OV = HP OpenVMS,
    PI = HP Printing &amp; Imaging,
    ST = HP Storage SW,
    TL = HP Trusted Linux,
    TU = HP Tru64 UNIX,
    UX = HP-UX,
    VV = HP Virtual Vault


System management and security procedures must be reviewed
frequently to maintain system integrity. HP is continually
reviewing and enhancing the security features of software products
to provide customers with current secure solutions.

"HP is broadly distributing this Security Bulletin in order to
bring to the attention of users of the affected HP products the
important security information contained in this Bulletin. HP
recommends that all users determine the applicability of this
information to their individual situations and take appropriate
action. HP does not warrant that this information is necessarily
accurate or complete for all user situations and, consequently, HP
will not be responsible for any damages resulting from user's use
or disregard of the information provided in this Bulletin. To the
extent permitted by law, HP disclaims all warranties, either
express or implied, including the warranties of merchantability
and fitness for a particular purpose, title and non-infringement."


(c)Copyright 2006 Hewlett-Packard Development Company, L.P.
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
provided is provided "as is" without warranty of any kind. To the
extent permitted by law, neither HP nor its affiliates,
subcontractors or suppliers will be liable for incidental, special
or consequential damages including downtime cost; lost profits;
damages relating to the procurement of substitute products or
services; or damages for loss of data, or software restoration.
The information in this document is subject to change without
notice. Hewlett-Packard Company and the names of Hewlett-Packard
products referenced herein are trademarks of Hewlett-Packard
Company in the United States and other countries. Other product
and company names mentioned herein may be trademarks of their
respective owners.




 

Privacy Statement
Copyright 2010, SecurityFocus