[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 597/03 - Two Hewlett-Packard Security Briefings



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

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 597/03 dated 31.10.03  Time: 10:40
 UNIRAS is part of NISCC(National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

Two Hewlett-Packard Security Briefings:

1. HP-UX shells.

2. MySQL in SCM3.0



Detail
====== 

1. Shells improperly manage files during operations.

2. MySQL version 3.23.39, which is delivered with Servicecontrol Manager (SCM) 3.0, 
   has potential security vulnerabilities.
         

1. 

ESB-2003.0752 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0308-275
                      SSRT3618 (Rev. 1) HP-UX shells
                              31 October 2003


Product:                sh-posix
                        csh
                        ksh
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.11
                        HP-UX 11.00
                        HP-UX 10.20
Platform:               HP9000 Series 700/800
Impact:                 Overwrite Arbitrary Files
Access Required:        Existing Account
CVE Names:              CAN-2000-1134

Ref:                    ESB-2003.0603

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

- - -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 -----------------------------------------------------------------
**REVISED 01**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0308-275
 Originally issued: 26 August 2003
 Last revised:  29 October 2003
 SSRT3618 (Rev. 1) HP-UX shells
 -----------------------------------------------------------------

NOTICE: There are no restrictions for distribution of this
Bulletin provided that it remains complete and intact.

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.

 -----------------------------------------------------------------
PROBLEM: Shells improperly manage files during operations.

IMPACT:  Potential increase of privilege, filesystem damage,
         denial of service.

**REVISED 01**
PLATFORM: HP9000 servers running HP-UX versions B.10.20, B.11.00,
          B.11.04, and B.11.11.

**REVISED 01**
SOLUTION:  Apply the appropriate patch from itrc.hp.com:

           PHCO_27345    B.11.11    sh-posix
           PHCO_27019    B.11.11    ksh
           PHCO_26561    B.11.11    csh

- - - -->        PHCO_29814    B.11.04    sh-posix
- - - -->        PHCO_29698    B.11.04    ksh
- - - -->        PHCO_29702    B.11.04    csh

           PHCO_27344    B.11.00    sh-posix
           PHCO_27418    B.11.00    ksh
           PHCO_27763    B.11.00    csh

           PHCO_27804    B.10.20    sh-posix
           PHCO_27803    B.10.20    ksh
           PHCO_27819    B.10.20    csh

MANUAL ACTIONS: No

AVAILABILITY:  All patches are available now on itrc.hp.com

CHANGE SUMMARY: Rev. 01 Added HP-UX B.11.04 (VVOS) patches
 -----------------------------------------------------------------
**REVISED 01**
 A. Background
    Many system modules create insecure temporary files with a
    name based on a process id, and write subsequent input
    to that file.  Improper error checking of various sytem
    calls results in a vulnerability.

    Reference:
    CERT-VN:VU#10277 URL:http://www.kb.cert.org/vuls/id/10277
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2000-1134

    This problem also affects HP Tru64 UNIX
       See the security bulletin SSRT1-41U, SSRT0742U, SSRT0759U
    available at:
  http://www-unix.zk3.dec.com:8083/unix/security-download.html
    and has been subsequently superceded by SSRT2275, released
    April 2003.

    NOTE: This problem does not impact HP NonStop Servers

    AFFECTED VERSIONS
    The following is a list by HP-UX revision of
    affected filesets and the fileset revision or
    patch containing the fix.  To determine if a
    system has an affected version, search the
    output of "swlist -a revision -l fileset"
    for an affected fileset, then determine if
    a fixed revision or the applicable patch is
    installed.

    HP-UX B.11.11
    =============
    OS-Core.UX-CORE
    fix: install patches PHCO_27345, PHCO_27019, PHCO_26561

- - - --> HP-UX B.11.04
- - - --> =============
- - - --> OS-Core.UX-CORE
- - - --> fix: install patches PHCO_29814, PHCO_29698, PHCO_29702

    HP-UX B.11.00
    =============
    OS-Core.UX-CORE
    fix: install patches PHCO_27344, PHCO_27418, PHCO_27763

    HP-UX B.10.20
    =============
    OS-Core.UX-CORE
    fix: install patches PHCO_27804, PHCO_27803, PHCO_27819


    END AFFECTED VERSIONS

**REVISED 01**
 B. Recommended solution

    Retrieve and install all three the patches for each release
    from itrc.hp.com:
           PHCO_27345    B.11.11    sh-posix
           PHCO_27019    B.11.11    ksh
           PHCO_26561    B.11.11    csh

 -->       PHCO_29814    B.11.04    sh-posix
 -->       PHCO_29698    B.11.04    ksh
 -->       PHCO_29702    B.11.04    csh

           PHCO_27344    B.11.00    sh-posix
           PHCO_27418    B.11.00    ksh
           PHCO_27763    B.11.00    csh

           PHCO_27804    B.10.20    sh-posix
           PHCO_27803    B.10.20    ksh
           PHCO_27819    B.10.20    csh

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

    Use the 'Login' tab at the left side of the screen to login
    using your ID and password.  Use your existing login or the
    "Register" button at the left to create a login, in order to
    gain access to many areas of the ITRC.  Remember to save the
    User ID assigned to you, and your password.

    In the left most frame select "Maintenance and Support".

    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.

    NOTE: Using your itrc account security bulletins can be
          found here:
    http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin


    To -gain access- to the Security Patch Matrix, select
    the link for "The Security Bulletins Archive".  (near the
    bottom of the page)  Once in the archive the third link is
    to the current Security Patch Matrix. Updated daily, this
    matrix categorizes security patches by platform/OS release,
    and by bulletin topic.  Security Patch Check completely
    automates the process of reviewing the patch matrix for
    11.XX systems.  Please note that installing the patches
    listed in the Security Patch Matrix will completely
    implement a security bulletin _only_ if the MANUAL ACTIONS
    field specifies "No."

    The Security Patch Check tool can verify that a security
    bulletin has been implemented on HP-UX 11.XX systems providing
    that the fix is completely implemented in a patch with no
    manual actions required.  The Security Patch Check tool cannot
    verify fixes implemented via a product upgrade.

    For information on the Security Patch Check tool, see:
    http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/
    displayProductInfo.pl?productNumber=B6834AA

    The security patch matrix is also available via anonymous
    ftp:

    ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/

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

    The PGP key used to sign this bulletin is available from
    several PGP Public Key servers.  The key identification
    information is:

       2D2A7D59
       HP Security Response Team (Security Bulletin signing only)
       <security-alert@xxxxxx>
       Fingerprint =
         6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

    If you have problems locating the key please write to
    security-alert@xxxxxxx  Please note that this key is
    for signing bulletins only and is not the key returned
    by sending 'get key' to security-alert@xxxxxxx


 D. To report new security vulnerabilities, send email to

    security-alert@xxxxxx

    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@xxxxxxx



2. 

ESB-2003.0751 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0310-287
                     SSRT3645 (Rev. 1) MySQL in SCM3.0
                              31 October 2003


Product:                MySQL (a component of Servicecontrol Manager)
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.11
                        HP-UX 11.00
Platform:               HP9000 Series 700/800
Impact:                 Execute Arbitrary Code/Commands

Ref:                    ESB-2003.0709

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

- - -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


 ----------------------------------------------------------------
 **REVISED 01**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0310-287
 Originally issued: 7 October 2003
 Last updated: 29 October 2003
 SSRT3645 (Rev. 1) MySQL in SCM3.0
 -----------------------------------------------------------------
NOTICE: There are no restrictions for distribution of this
Bulletin provided that it remains complete and intact.

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.

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

PROBLEM:  MySQL version 3.23.39, which is delivered with
          Servicecontrol Manager (SCM) 3.0, has potential
          security vulnerabilities.

IMPACT:   Unauthorized access, increase in privilege or execution
          of arbitrary code.

PLATFORM: HP 9000 servers running HP-UX B.11.00 and B.11.11 only.

SOLUTION: Update the SCM central management server to use ixMySQL
          version 3.23.54 which is released by the HP Internet
          Express group.  (See below).
          Install ixMySQL version 3.23.54 or subsequent and
          configure the SCM central management server to use
          ixMySQL.

   Note:  This fix is only available if you are running
          SCM 3.0 or later.  Earlier versions of SCM
          must be upgraded prior to applying this fix.

MANUAL ACTIONS:  Yes - NonUpdate

AVAILABILITY:  The solution is included herein.

CHANGE SUMMARY: Rev. 01 Clarified source for ixMySQL.

 -----------------------------------------------------------------
**REVISED 01**
 A. Background
    Any version of Servicecontrol Manager (SCM) 3.0 (such as
    B.03.00.01) was shipped with a version of MySQL (3.23.39)
    which contains security defects.

    For more information, see:
       http://www.mysql.com/documentation/mysql/bychapter/
              index.html#News-3.23.54

    SCM 2.5 uses LDAP and is therefore unaffected by this issue.
    Systems using SCM 2.5 that were upgraded to B.03.00.00,
    B.03.00.01, B.03.00.02, B.03.00.03, or B.03.00.04 need to be
    upgraded further on any HP-UX B.11.00 or B.11.11 platform.
    Sytems running SCM 3.0 on HP-UX B.11.23 are not affected, as
    they use ixMySQL.

 -->A new version of ixMySQL can be now downloaded from:
 --> http://software.hp.com/portal/swdepot/displayProductInfo.do?
          +productNumber=HPUXIEXP1111


    AFFECTED VERSIONS
    =================
    The following is a list by HP-UX revision of
    affected filesets or patches and fix information.
    To determine if a system has an affected version,
    search the output of "swlist -a revision -l fileset"
    for an affected fileset or patch, then determine if
    a fixed revision or applicable patch is installed.


    HP-UX B.11.00
    HP-UX B.11.11
    =============
    mysql.MYSQL
    fix: install ixMySQL revision 3.23.54 or subsequent, and
         configure the SCM central management server to use
         ixMySQL.

    END AFFECTED VERSIONS


    NOTE: This problem does not impact HP NonStop Servers nor
          HP OpenVMS, nor HP Tru64 UNIX/Trucluster Server.

 B. Recommended solution
    If you are installing SCM 3.0 on a central management server
    for the first time, follow these installation instructions:

  1.  If SCM 3.0 is not B.03.00.01 or later, download the latest
      version on the Web at:
        http://software.hp.com/products/SCMGR/download.html
  2.  Install SCM:
        swinstall -s SCM3.0.x_depot -x reinstall=true B8339BA
  3.  Remove MySQL 3.23.39:
        swremove MySQL
  4.  After MySQL is removed, check if the mysqld daemon is
      still running:
        ps -ef | grep mysqld
      The mysqld daemon should not still be running.  If it is,
      stop it with:
        kill -9 <PIDofmysqld>
  5.  Install the new ixMySQL
      On HP-UX B.11.11
        swinstall -s ix_MySQL_depot ixMySQL
      On HP-UX B.11.00:
        swinstall -s depot -x allow_incompatible=true ixMySQL
        swconfig -x allow_incompatible=true ixMySQL
  6.  Configure SCM 3.0 to run with ixMySQL:
        /opt/mx/bin/mxinitconfig -a server

     If you need to update an existing central management server
     running SCM 3.0 with MySQL 3.23.39, follow these
     instructions:

  1.  Verify the version of SCM 3.0 (B8339BA):
        swlist B8339BA
      Note: Only B8339BA, B.03.00.01 or later is compatible
            with ixMySQL.  If you have B8339BA, B.03.00.00
            installed, you need to upgrade to B.03.00.01
            version or later and then complete this
            procedure.
  2.  Backup the SCM database to a file in a secure directory:
        /opt/mx/bin/mxrepositorysave -f $SAFEDIR/scm30save
  3.  Verify the backup file:
        ls -l $SAFEDIR/scm30save
  4.  Backup the MySQL files:
        tar cvf $SAFEDIR/mysql_files.tar /var/opt/mysq/mxcoredb/.
  5.  If the version of SCM is not B.03.00.01 or later, upgrade
      to the latest version of SCM.
    a.  Download the latest version on the Web at:
          http://www.software.hp.com/products/SCMGR/
    b.  Update SCM to the latest version:
          swinstall -s SCM3.0.x_depot -x reinstall=true B8339BA
  6.  Stop SCM daemons:
        /sbin/init.d/ServCtlMgr stop server
  7.  Remove MySQL 3.23.39:
        swremove MySQL
  8.  After MySQL is removed, check if the mysqld daemon is still
      running:
        ps -ef | grep mysqld
      The mysqld daemon should not still be running.  If it is,
      stop it with:
        kill -9 <PIDofMySQL>
  9.  Install ixMySQL.
      On HP-UX B.11.11
        swinstall -s ix_MySQL_depot ixMySQL
      On HP-UX B.11.00:
        swinstall -s depot -x allow_incompatible=true ixMySQL
        swconfig -x allow_incompatible=true ixMySQL
 10.  Configure SCM 3.0 to run with ixMySQL:
        /opt/mx/lbin/mxconfigrepo -a -F
 11.  Restore the SCM 3.0 data:
        /opt/mx/bin/mxrepositoryrestore -f $SAFEDIR/scm30save
 12.  Run SCM 3.0 with ixMySQL:
        /opt/mx/bin/mxinitconfig -a server


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

    Use the 'Login' tab at the left side of the screen to login
    using your ID and password.  Use your existing login or the
    "Register" button at the left to create a login, in order to
    gain access to many areas of the ITRC.  Remember to save the
    User ID assigned to you, and your password.

    In the left most frame select "Maintenance and Support".

    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.

    NOTE: Using your itrc account security bulletins can be
          found here:
    http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin


    To -gain access- to the Security Patch Matrix, select
    the link for "The Security Bulletins Archive".  (near the
    bottom of the page)  Once in the archive the third link is
    to the current Security Patch Matrix. Updated daily, this
    matrix categorizes security patches by platform/OS release,
    and by bulletin topic.  Security Patch Check completely
    automates the process of reviewing the patch matrix for
    11.XX systems.  Please note that installing the patches
    listed in the Security Patch Matrix will completely
    implement a security bulletin _only_ if the MANUAL ACTIONS
    field specifies "No."

    The Security Patch Check tool can verify that a security
    bulletin has been implemented on HP-UX 11.XX systems providing
    that the fix is completely implemented in a patch with no
    manual actions required.  The Security Patch Check tool cannot
    verify fixes implemented via a product upgrade.

    For information on the Security Patch Check tool, see:
    http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/
    displayProductInfo.pl?productNumber=B6834AA

    The security patch matrix is also available via anonymous
    ftp:

    ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/

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

    The PGP key used to sign this bulletin is available from
    several PGP Public Key servers.  The key identification
    information is:

       2D2A7D59
       HP Security Response Team (Security Bulletin signing only)
       <security-alert@xxxxxx>
       Fingerprint =
         6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

    If you have problems locating the key please write to
    security-alert@xxxxxxx  Please note that this key is
    for signing bulletins only and is not the key returned
    by sending 'get key' to security-alert@xxxxxxx


 D. To report new security vulnerabilities, send email to

    security-alert@xxxxxx

    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@xxxxxxx

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

(c)Copyright 2003 Hewlett-Packard Company
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
in this document is subject to change without notice.
Hewlett-Packard Company and the names of HP products referenced
herein are trademarks and/or service marks of Hewlett-Packard
Company.  Other product and company names mentioned herein may be
trademarks and/or service marks of their respective owners.

 ________________________________________________________________


For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via EMail to:
uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Hewlett-Packard for the information
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBP6I7rYpao72zK539AQES7wP+KIO/wjRnbP/eY5WT+j24zG+iay4OGh5u
B2ztGCKmKrUwZTa/GUESNayF+nbe9m1DrgXTe/1KKbNaIrn+b6jLtFbAneTVLBnT
bJQQ6xCEgzQJJuVGTMj27KEeapaXvcpCrjmZD1frY0LMQZ6dN2FwofMx08i0Ipsc
J2w94zAfUlc=
=ERK2
-----END PGP SIGNATURE-----