SSRT3469 Potential Security Vulnerability in sendmail (rev.1)

SSRT3469 Potential Security Vulnerability in sendmail (rev.1)

Post by Security Ale » Thu, 06 Mar 2003 23:53:11



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

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

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, 11.11, and 11.22.

SOLUTION: Download and install the appropriate sendmail file.

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

** REVISED 01**
 -->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 01**
 -->If you are ruuning 8.8.6 on HP-UX 10.20,
 -->upgrade to 8.9.3 by by installing PHNE_25183.
 -->Then apply sendmail.893.11.00 as described below.

 -->If you are ruuning 8.8.6 on HP-UX 11.00,
 -->upgrade to 8.9.3 by by installing PHNE_24419.
 -->Then apply sendmail.893.11.00 as described below.

 -->  OR

 -->Upgrade to 8.11.1 by installing the web upgrade
 -->available on http://www.software.hp.com
 -->Then apply sendmail.811.11.00 as described below.

    Determine if you are running a vulnerable version
    of sendmail:

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

        The display will show Version #.#.#
        HP Versions affected:  8.8.6, 8.9.3, 8.11.1

     Download the appropriate file:

       For HP-UX 10.10: sendmail.886.10.01.gz
       For HP-UX 10.20: sendmail.893.10.20.gz
       For HP-UX 11.00: sendmail.811.11.00.gz
                        sendmail.893.11.00.gz
       For HP-UX 11.04: sendmail.811.11.00.gz
                        sendmail.893.11.00.gz
       For HP-UX 11.11: sendmail.811.11.11.gz
                        sendmail.893.11.11.gz
       For HP-UX 11.22: sendmail.811.11.22.gz

       The files are available from the following site:

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

        FTP Access: ftp://sendmail:sendm...@hprc.external.hp.com/
                or: ftp://sendmail:sendm...@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

     Unpack the file with gunzip(1).

     Verify the cksum or the md5 sum:

     cksum:
     2052507672 401408 sendmail.886.10.01
     3975773765 806912 sendmail.893.10.20
     2575934578 970752 sendmail.811.11.00
     905487102 827392 sendmail.893.11.00
     3003791603 1015808 sendmail.811.11.11
     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.01) = 2af7445285f285a7865fb9c202b500fe
     MD5 (sendmail.893.10.20) = fbc327a2be485b63a8d884f9a727648f
     MD5 (sendmail.811.11.00) = aff4e97d8a07cdf23b68359b1e72494e
     MD5 (sendmail.893.11.00) = a7f5c7d9004b04d95b895b8b5f703ac5
     MD5 (sendmail.811.11.11) = 4bbf09bf6ce4e9f814eecbcc632c7816
     MD5 (sendmail.893.11.11) = 54d63cf32720b66bee44e79b634c9741
     MD5 (sendmail.811.11.22) = 9871b8fd59f9aa39e66da2185681710e

     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

**REVISED 01**
     Restart sendmail.

 --> If you were running sendmail before the killsm
 --> command above, you can now restart it with the
 --> following command:

        /sbin/init.d/sendmail start

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

 D. To report new security vulnerabilities, send email to

    security-al...@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-al...@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/AwUBPmUe2+AfOvwtKn1ZEQJpHwCfXPIWAu6stNzfEuSnEnXEPtIUQJUAn2SD
RaW1bBGjMX8kjcHhEzutUBV7
=aCz3
-----END PGP SIGNATURE-----

--
Yours truly,
HP S/W Security Team
WTEC Cupertino, California

Return-Path: sec...@cup.hp.com
Reply-to: security-al...@hp.com