SSRT3469 Potential Security Vulnerability in sendmail (rev.4)
From: Security Alert (secure@cup.hp.com)
Date: 04/07/03
- Next message: Security Alert: "SSRT3531 Potential Security Vulnerability in sendmail (rev.1)"
- Previous message: Nick Maclaren: "Re: unix passwords"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: secure@cup.hp.com (Security Alert) Date: 7 Apr 2003 05:53:33 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-----------------------------------------------------------------
**REVISED 04**
Source: HEWLETT-PACKARD COMPANY
SECURITY BULLETIN: HPSBUX0302-246
Originally issued: 03 March 2003
Last revised: 04 April 2003
SSRT3469 Potential Security Vulnerability in sendmail (rev.4)
-----------------------------------------------------------------
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.
SOLUTION: Download and install the appropriate sendmail file
or HPSecurityBul246.depot.
**REVISED 04**
--> The sendmail files and HPSecurityBul253.depot
--> referenced in HPSBUX0304-253 also address the
--> issues documented in HPSBUX0302-246.
--> If the sendmail files or HPSecurityBul253.depot
--> from HPSBUX0304-253 are installed, it is not necessary
--> to install the sendmail files or HPSecurityBul246.depot
--> from HPSBUX0302-246.
--> If both sets of sendmail files, or both depots, are
--> installed, the sendmail files or HPSecurityBul253.depot
--> from HPSBUX0304-253 must be installed *AFTER* the
--> sendmail files or HPSecurityBul246.depot from HP
--> HPSBUX0302-246 in order to ensure all issues are
--> addressed.
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.
Rev.04 - Added note about HPSBUX0304-253.
The files are in the SB246 subdirectory
on the ftp site.
-----------------------------------------------------------------
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
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.
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
**REVISED 04**
--> The files are in the SB246 subdirectory.
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.
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:
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
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/AwUBPo4Bb+AfOvwtKn1ZEQJxvQCeMWOYoi3xr036rrpTn+pe9677F00An14u
YZlPSIZsgStxyfniBtZovcwm
=90nC
-----END PGP SIGNATURE-----
-- Yours truly, HP S/W Security Team WTEC Cupertino, California Return-Path: secure@cup.hp.com Reply-to: security-alert@hp.com
- Next message: Security Alert: "SSRT3531 Potential Security Vulnerability in sendmail (rev.1)"
- Previous message: Nick Maclaren: "Re: unix passwords"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]