copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2003.0167 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0302-246 -- SSRT3469 Potential Security Vulnerability in sendmail (rev.3)

Date: 13 March 2003
References: ESB-2003.0158  ESB-2003.0254  ESB-2003.0355  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

ESB-2003.0167 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0302-246
       SSRT3469 Potential Security Vulnerability in sendmail (rev.3)
                               13 March 2003

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                Sendmail
Vendor:                 Hewlett-Packard
Operating System:       HP-UX 11.22
                        HP-UX 11.11
                        HP-UX 11.04 (VVOS)
                        HP-UX 11.00
                        HP-UX 10.20
                        HP-UX 10.10
Platform:               HP 9000 Series 700/800
Impact:                 Root Compromise
                        Denial of Service
Access Required:        Remote

Ref:                    AA-2003.01
                        ESB-2003.0158

Comment: CVE Id: CAN-2002-1337

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

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

 -----------------------------------------------------------------
**REVISED 03**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0302-246
 Originally issued: 03 March 2003
 Last revised: 11 March 2003
 SSRT3469 Potential Security Vulnerability in sendmail (rev.3)
 -----------------------------------------------------------------

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: Potential security vulnerability in sendmail

IMPACT: Potential unauthorized Privileged Access,
        Potential Denial of Service (DoS).

PLATFORM: HP 9000 Series 700/800 Servers running HP-UX 10.10,
          10.20, 11.00, 11.04(VVOS), 11.11, and 11.22.

**REVISED 03**
SOLUTION: Download and install the appropriate sendmail file
          or HPSecurityBul246.depot.

MANUAL ACTIONS: Yes - NonUpdate
                Download and install the appropriate
                sendmail file.

AVAILABILITY: This bulletin will be revised when patches are
              available.

CHANGE SUMMARY: Rev.01 - Added information on upgrading from
                         8.8.6 to 8.9.3 or 8.11.1.
                         Added information on warning messages.
                         Added CERT and CVE reference numbers.
                Rev.02 - Corrected typo.
                         Added 11.04(VVOS) information.
                         Added 8.7.x to list of affected versions.
                Rev.03 - Added HPSecurityBul246.depot information.
                         Replaced  sendmail.811.11.11 file
                         with sendmail.811.11.11.r1.
                         Renamed sendmail.886.10.01 to
                                 sendmail.886.10.10.
                         Clarified installation instructions.
 -----------------------------------------------------------------
 A. Background
    A potential security vulnerability with sendmail has been
    reported in HP-UX.  This potential vulnerability may result
    in unauthorized Privileged Access or a Denial of Service
    (DoS).  This potential vulnerability may be exploited
    remotely.

    This is the vulnerability reported in CERT/CC CA-2003-07.
    CERT/CC is tracking this issue as VU#398025  This reference
    number corresponds to CVE candidate CAN-2002-1337.

    This problem also affects HP Tru64 UNIX/Trucluster Server.
    NOTE: This problem does not impact HP NonStop Servers nor
          HP OpenVMS.
    The  HP Tru64 bulletin will be posted to the customer
    support website within 24 hours of release to -
    http://thenew.hp.com/country/us/eng/support.html
    or www.hp.com
    Use the SEARCH IN feature box, enter SSRT in the
    search window or use a specific SSRT #
    example: SSRT3469

 B. Recommended solution

**REVISED 03**
 -->Note: A PROBLEM HAS BEEN FOUND WITH FILES MENTIONED
 -->      IN PREVIOUS REVISIONS OF THIS BULLETIN.

 -->      A problem has been found with the 11.11 file
 -->      which has the following cksum(1):

 -->            3003791603 1015808 sendmail.811.11.11

 -->       This problem may cause copies of sendmail
 -->       not to terminate when there is a large
 -->       number of mail messages and a heavy system
 -->       load.  We recommend replacing this file
 -->       with the current version which has the
 -->       following cksum(1):

 -->            3733540319 1015808 sendmail.811.11.11.r1

 -->       As noted below this can be done by installing
 -->       a depot or by manually replacing the files.


**REVISED 03**
    All versions of sendmail provided by HP on HP-UX
    10.X and 11.X are vulnerable unless one of the
    fixes described below has been installed.

    If a fix has been installed the following command
    will list a 'version.c" line:

     what /usr/sbin/sendmail | grep JAGae58098

    For example,

    what /usr/sbin/sendmail | grep JAGae58098
          version.c       8.9.3.1 (Berkeley) 4/10/2002
                                     (PHNE_26305+JAGae58098)

 -->Note:  All the files mentioned for download below are
 -->       available from the following ftp site:

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

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

        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



    ==================================================
    To fix the problem:

 -->1. Determine the sendmail version.
 -->2. If necessary upgrade to a version of sendmail
 -->   for which a fix is available.
 -->3. Download and install HPSecurityBul246.depot.
 -->   OR
 -->4. Download and install the appropriate sendmail file.

 -->Details:

    1. Determine the sendmail version.

        Login in as root:
          cd /usr/sbin
          sendmail -d0.1 < /dev/null | grep -i version

        The display will show Version #.#.#

    2. If necessary upgrade to a version of sendmail
       for which a fix is available.

        Fixes are available for the following versions:

           HP-UX 10.10: sendmail 8.8.6
           HP-UX 10.20: sendmail 8.9.3
           HP-UX 11.00: sendmail 8.11.1
           HP-UX 11.00: sendmail 8.9.3
           VVOS  11.04: sendmail 8.9.3
           HP-UX 11.11: sendmail 8.11.1
           HP-UX 11.11: sendmail 8.9.3
           HP-UX 11.22: sendmail 8.11.1

        If you are not running one the those versions,
        you will need to upgrade as follows:

        HP-UX 10.10

          Upgrade to 8.8.6 by installing the web upgrade
          available on:
              http://www.software.hp.com/products/
                 Sendmail/index.html
           This is a direct link to the 8.8.6 upgrade.

        HP-UX 10.20

         Upgrade to 8.9.3 by by installing PHNE_25183.

        HP-UX 11.00

         Upgrade to 8.9.3 by by installing PHNE_24419.
           OR
         Upgrade to 8.11.1 by installing the web upgrade
         available on http://www.software.hp.com

        VVOS 11.04 (Virtual Vault Operating System):

         Upgrade to 8.9.3 by installing PHNE_25984.

         Note: VVOS does not support the web upgrade version
               of sendmail 8.11.1.

**REVISED 03**
 -->3. Download and install either HPSecurityBul246.depot
 -->   (this step) or the appropriate sendmail file
 -->   (step 4 below).


 -->   Until patches are available there are two ways to fix the
 -->   problem.  Individual sendmail files can be downloaded and
 -->   installed as described in previous versions of this
 -->   bulletin (step 4 below).

 -->   Alternatively a depot can be downloaded and installed using
 -->   swinstall(1).  The depot contains all of the sendmail
 -->   files.  The depot determines the correct version to be
 -->   installed on each system.

 -->   Download and install HPSecurityBul246.depot.gz:
 -->   a. Download HPSecurityBul246.depot.gz
 -->   b. Unpack the file with gunzip(1)
 -->   c. Verify the cksum or the md5 sum.

 -->      cksum HPSecurityBul246.depot
 -->      3826367137 7198720 HPSecurityBul246.depot
 -->      md5 HPSecurityBul246.depot
 -->      MD5 (HPSecurityBul246.depot) =
 -->            2a81bb91b94bffea13687ce5e1060cef

 -->   d. Extract the "readme" file for further information:
 -->        cd directory_containing_depot
 -->        swlist -d -l product -a readme
 -->               @ $PWD/HPSecurityBul246.depot
 -->   e. Install HPSecurityBul246.depot with swinstall(1).


 -->4. Download  and install the appropriate file.
 -->   Note:  The depot mentioned in step 3 above contains all
 -->          the sendmail files.  If you prefer to download and
 -->          install only the files needed for a given revision,
 -->          please use the following instructions:

 -->    a. Download the appropriate file.

 -->   For HP-UX 10.10: sendmail.886.10.10.gz for 8.8.6
       For HP-UX 10.20: sendmail.893.10.20.gz for 8.9.3
       For HP-UX 11.00: sendmail.811.11.00.gz for 8.11.1
                        sendmail.893.11.00.gz for 8.9.3
       For HP-UX 11.04: sendmail.893.11.00.gz for 8.9.3
 -->   For HP-UX 11.11: sendmail.811.11.11.r1.gz for 8.11.1
                        sendmail.893.11.11.gz for 8.9.3
       For HP-UX 11.22: sendmail.811.11.22.gz for 8.11.1

 -->   b. Unpack the file with gunzip(1)

 -->   c. Verify the cksum or the md5 sum.

     cksum:
 --> 2052507672 401408 sendmail.886.10.10
     3975773765 806912 sendmail.893.10.20
     2575934578 970752 sendmail.811.11.00
     905487102 827392 sendmail.893.11.00
     3733540319 1015808 sendmail.811.11.11.r1
 --> 3842273936 860160 sendmail.893.11.11
     3819176330 2281732 sendmail.811.11.22

     Note: If you wish to verify the md5 sum and you do not
           have a copy of md5, please refer to:
               HPSBUX9408-016
               Patch sums and the MD5 program
     Note: Using your itrc account security bulletins can be
          found here:
     http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin


 ->MD5 (sendmail.886.10.10) = 2af7445285f285a7865fb9c202b500fe
   MD5 (sendmail.893.10.20) = fbc327a2be485b63a8d884f9a727648f
   MD5 (sendmail.811.11.00) = aff4e97d8a07cdf23b68359b1e72494e
   MD5 (sendmail.893.11.00) = a7f5c7d9004b04d95b895b8b5f703ac5
 ->MD5 (sendmail.811.11.11.r1) = c39290e21050f0460eed2cc67bc7b103
   MD5 (sendmail.893.11.11) = 54d63cf32720b66bee44e79b634c9741
   MD5 (sendmail.811.11.22) = 9871b8fd59f9aa39e66da2185681710e

 -->   d. Install the appropriate file as follows:

       Copy the file to a protected directory such as /usr/sbin.

       Login as root and run killsm:

          killsm

       Verify the sendmail daemon is not running:

          ps -ef | grep sendmail

       Make a backup copy of the existing sendmail:

          cd /usr/sbin
          cp sendmail sendmail.original

       Note the permissions for reference:

          ls -lia /usr/sbin/sendmail

       Install the new sendmail:

          cp sendmail.xxx.yy.zz sendmail

       For example, on 11.22:

          cp sendmail.811.11.22 sendmail

       Restart sendmail.

       If you were running sendmail before the killsm
       command above, you can now restart it with the
       following command (for HP-UX, not VVOS):

          /sbin/init.d/sendmail start

       Note: Do not execute the command above for VVOS 11.04
             If you are running VVOS (Virtual Vault Operating
             System) please do not start the sendmail daemon.
             VVOS support does not allow for a sendmail daemon
             to be running.
    ==================================================


    Note: If you receive either of the following messages after
    applying the fix, please follow the recommended action.

     warning: /etc/mail/aliases has world read or
                        write permission. This is unsafe.

     warning: /etc/mail/aliases.db has world read or
                        write permission. This is unsafe.


     Recommended action

      Execute the following commands.

        chmod 640 /etc/mail/aliases
        chmod 640 /etc/mail/aliases.db
        sendmail -bi


 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.

    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@hp.com>
       Fingerprint =
         6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

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


 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.

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

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

 _________________________________________________________________

- -----BEGIN PGP SIGNATURE-----
Version: PGP Personal Security 7.0.3

iQA/AwUBPm0OaeAfOvwtKn1ZEQIrKwCgqgGduGtTdUbos1H5uPjd/a2y5skAoI4e
hLllHDoddxB5583cvKkZ9q6+
=biRf
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

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 author's website 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:

        http://www.auscert.org.au/render.html?cid=1980

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

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 member emergencies only.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPnCxeih9+71yA2DNAQHhWgP/dgx6sjAgYRqFep2GJyLHwTbScNUOUIBC
M1oHDqtSSvOrlayKC2eunveUmHQs6qRPiv9wrLrDZDMJ5zIITZw4IwwLINuxyuYF
LPJuKCLWxalrGmzH8m82wUq+1oXqCpWk+0X4fODxdlGVx6/jWguoRcWm9U4JjcB9
pwnGweJvbes=
=RB3V
-----END PGP SIGNATURE-----