Hewlett-Packard Company Information for VU#299816

Common Desktop Environment (CDE) ToolTalk RPC database server (rpc.ttdbserverd) does not adequately validate file operations

Status

Affected

Vendor Statement

 -----------------------------------------------------------------
**REVISED 02**
HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0207-199
Originally issued:  12 July 2002
Last revision: 14 Aug 2002
SSRT2274 Sec. Vulnerability in rpc.ttdbserver
-----------------------------------------------------------------

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:  Buffer overflow in rpc.ttdbserver

PLATFORM: HP9000 Series 700/800 running HP-UX releases 10.10,
         10.20, 10.24, 11.00, 11.04, and 11.11.

DAMAGE:  Potential unauthorized access, increased privileges.

SOLUTION: Until patches are available, manually install a
         replacement rpc.ttdbserver.

MANUAL ACTIONS: Install replacement rpc.ttdbserver.

AVAILABILITY:  The replacement rpc.ttdbserver files are
               available now.

CHANGE SUMMARY: Added CA-2002-26 information

 ------------------------------------------------------------------
**REVISED 02**
A. Background
-->>Buffer overflows in rpc.ttdbserver has been reported by CERT
-->>in CA-2002-20 and CA-2002-26.  The potential exists to exploit
-->>these overflows to gain unauthorized access.

 B. Recommended solution
   Until patches are available, install the appropriate file to
   replace rpc.ttdbserver.

     Note: The 10.20 file should be used for 10.24.
          The 11.00 file should be used for 11.04.

           On 10.24 and 11.04 (VVOS) rpc.ttdbserver is disabled
          by default.

**REVISED 02**
-->>  1. Download rpc.ttdbserver.2.tar.gz from the ftp site.
        This file is temporary and will be deleted when patches
        are available from the standard HP web sites, including
        itrc.hp.com.

        System:    hprc.external.hp.com  (192.170.19.51)
       Login:     ttdb1
       Password:  ttdb1

        FTP Access: ftp://ttdb1:ttdb1@hprc.external.hp.com/
              or:
ftp://ttdb1:ttdb1@192.170.19.51/

-->>    file: rpc.ttdbserver.2.tar.gz

        Note: There is an ftp defect in IE5 that may result in
              a browser hang.  To work around this:
       - Select Tools -> Internet Options -> Advanced
       - Un-check the option: [ ] Enable folder view for FTP sites

**REVISED 02**
-->>  2. Copy the rpc.ttdbserver.2.tar.gz file to a protected
        directory and unpack it.
        If you wish to verify the md5 sum before unpacking the
        rpc.ttdbserver.tar.gz file, please refer to:

               HPSBUX9408-016
              Patch sums and the MD5 program

-->>      The md5 sum for rpc.ttdbserver.2.tar.gz is:

-->>  MD5 (rpc.ttdbserver.2.tar.gz) =
-->>                 e6af458213a9834146f716c9df7f1aaf

      3. Install the new rpc.ttdbserver file using the
        install_rpc.ttdbserver script or some similar procedure.
        The install_rpc.ttdbserver script is included in
-->>     rpc.ttdbserver.2.tar.gz.

         For example on a 10.20 system:

            ./install_rpc.ttdbserver rpc.ttdbserver.1020

      4. The what(1) and cksum(1) outputs are:

**REVISED 02**
 ###################################################

-->>$ what rpc.ttdbserver.1010
-->>rpc.ttdbserver.1010:
-->>    X Window System, Version 11 R5+ HP-UX B.10.10.020810 -O
-->>    (build date: Sat Aug 10 13:35:19 IST 2002)
-->>    rpc.ttdbserver: $Revision: 1.1 $

-->>$ cksum rpc.ttdbserver.1010
-->>2536143200 323584 rpc.ttdbserver.1010
 ###################################################
-->>$ what rpc.ttdbserver.1020
-->>rpc.ttdbserver.1020:
-->>    X Window System, Version 11 R6+ HP-UX B.10.20.020810 +O2
-->>    (build date: Sat Aug 10 12:56:54 IST 2002)
-->>    rpc.ttdbserver: $Revision: 1.1 $

-->>$ cksum rpc.ttdbserver.1020
-->>1981972883 323584 rpc.ttdbserver.1020
 ###################################################
-->>$ what rpc.ttdbserver.1100
-->>rpc.ttdbserver.1100:
-->> View: /view/venu_main, Build Type: r6hp700_1100
-->>    hpcde2.1
-->>    (build date: Fri Aug  9 10:49:13 IST 2002)
-->>  [rest deleted]

-->>$ cksum rpc.ttdbserver.1100
-->>3680305777 327680 rpc.ttdbserver.1100
 ###################################################
-->>$ what rpc.ttdbserver.1111
-->>rpc.ttdbserver.1111:
-->>    View: /view/venu_main, Build Type: r6hp700_1111
-->>    hpcde2.1
-->>    (build date: Fri Aug  9 11:37:48 IST 2002)
-->>  [rest deleted]

-->>$ cksum rpc.ttdbserver.1111
-->>595997811 352256 rpc.ttdbserver.1111
 ###################################################



 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.

    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.

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

 D. 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:  HPSBUX0207-199--------------------------------------

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Vendor References

None

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.