Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
|
|
|
|
|
|
|
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
|
|
|
|
Become a Partner and License Our Database or Notification Service
|
|
|
|
|
|
|
|
|
|
|
|
|
(HP Issues Fix for VVOS) Sendmail Buffer Overflow in Parsing Certain Header Comments May Let Remote Users Execute Arbitrary Code with Root Privileges
|
|
SecurityTracker Alert ID: 1006255 |
|
SecurityTracker URL: http://securitytracker.com/id/1006255
|
|
CVE Reference:
CAN-2002-1337
(Links to External Site)
|
Date: Mar 10 2003
|
Impact:
Execution of arbitrary code via local system, Execution of arbitrary code via network, Root access via local system, Root access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 5.79 - 8.12.7
|
Description:
A buffer overflow vulnerability was reported in the Sendmail mail transfer agent (MTA). A remote user could execute arbitrary code with the privileges of the mail server (typically root privileges)
It is reported that the software contains an exploitable buffer overflow in the parsing of certain SMTP header elements. The report indicates that long sender or recipient header comments may trigger the flaw. A remote user could create a specially crafted message to cause arbitrary code to be executed on the target server. The target server could be the sending MTA, an intermediate MTA, or the destination MTA.
The vendor has labeled this bug as a "critical security problem."
The vendor credits Mark Dowd of ISS X-Force with reporting the flaw.
Another buffer overflow was reported in the processing of RFC 1413 ident protocol messages (this was discovered by a different user). According to the vendor, this is "non-exploitable."
|
Impact:
A remote user could execute arbitrary code with the privileges of the target server, which is typically root privileges. Any MTA processing the message may be affected.
|
Solution:
To determine if you are running a vulnerable version of sendmail, HP reports that you can login in as root and run the following command from the /usr/sbin directory:
sendmail -d0.1 < /dev/null | grep -i version
If this commands displays version 8.7.x, 8.8.6, 8.9.3, or 8.11.1, you are reportedly affected.
HP has issued the following fixes:
For HP-UX 10.20:
If you are running 8.8.6 on HP-UX 10.20, upgrade to 8.9.3 by by installing PHNE_25183, then apply sendmail.893.10.20.
For HP-UX 11.00:
If you are running 8.8.6 on HP-UX 11.00, upgrade to 8.9.3 by by installing PHNE_24419, then apply sendmail.893.11.00.
OR
Upgrade to 8.11.1 by installing the web upgrade, available at:
http://www.software.hp.com
Then apply sendmail.811.11.00.
For VVOS 11.04 (Virtual Vault Operating System):
If you are running 8.7.x or 8.8.6 on VVOS 11.04, upgrade to 8.9.3 by installing PHNE_25984, then apply sendmail.893.11.00.
If you are already running sendmail 8.9.3 on VVOS 11.04, apply sendmail.893.11.00.
HP reports that VVOS does not support the web upgrade version of sendmail 8.11.1.
The relevant files are:
For HP-UX 10.10: sendmail.886.10.01.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.811.11.00.gz for 8.11.1
sendmail.893.11.00.gz for 8.9.3
For HP-UX 11.11: sendmail.811.11.11.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
The files are available at:
System: hprc.external.hp.com (192.170.19.51)
Login: sendmail
Password: sendmail
FTP Access:
ftp://sendmail:sendmail@hprc.external.hp.com/
ftp://sendmail:sendmail@192.170.19.51/
ftp hprc.external.hp.com
The MD5 checksums are:
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
Detailed installation instructions are provided in the Source Message.
|
Vendor URL: www.sendmail.org/8.12.8.html (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
UNIX (HP/UX)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Sat, 8 Mar 2003 13:06:58 -0500 (EST)
Subject: HP-UX security bulletins digest
|
HP Support Information Digests
===============================================================================
o Security Bulletin Digest Split
------------------------------
The security bulletins digest has been split into multiple digests
based on the operating system (HP-UX, MPE/iX, and HP Secure OS
Software for Linux). You will continue to receive all security
bulletin digests unless you choose to update your subscriptions.
To update your subscriptions, use your browser to access the
IT Resource Center on the World Wide Web at:
http://support.itrc.hp.com/
Under the Maintenance and Support Menu, click on the "more..." link.
Then use the 'login' link at the left side of the screen to login
using your IT Resource Center User ID and Password.
Under the notifications section (near the bottom of the page), select
Support Information Digests.
To subscribe or unsubscribe to a specific security bulletin digest,
select or unselect the checkbox beside it. Then click the
"Update Subscriptions" button at the bottom of the page.
o IT Resource Center World Wide Web Service
---------------------------------------------------
If you subscribed through the IT Resource Center and would
like to be REMOVED from this mailing list, access the
IT Resource Center on the World Wide Web at:
http://support.itrc.hp.com/
Login using your IT Resource Center User ID and Password.
Then select Support Information Digests (located under
Maintenance and Support). You may then unsubscribe from the
appropriate digest.
===============================================================================
Digest Name: daily HP-UX security bulletins digest
Created: Fri Mar 7 6:00:02 EST 2003
Table of Contents:
Document ID Title
--------------- -----------
HPSBUX0302-246 SSRT3469 Potential Security Vulnerability in sendmail (rev.2)
The documents are listed below.
-------------------------------------------------------------------------------
Document ID: HPSBUX0302-246
Date Loaded: 20030306
Title: SSRT3469 Potential Security Vulnerability in sendmail (rev.2)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-----------------------------------------------------------------
**REVISED 02**
Source: HEWLETT-PACKARD COMPANY
SECURITY BULLETIN: HPSBUX0302-246
Originally issued: 03 March 2003
Last revised: 06 March 2003
SSRT3469 Potential Security Vulnerability in sendmail (rev.2)
-----------------------------------------------------------------
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.
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.
-----------------------------------------------------------------
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 02**
HP-UX 10.20
If you are running 8.8.6 on HP-UX 10.20,
upgrade to 8.9.3 by by installing PHNE_25183.
-->Then apply sendmail.893.10.20 as described below.
HP-UX 11.00
If you are running 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.
-->VVOS 11.04 (Virtual Vault Operating System):
-->If you are running 8.7.x or 8.8.6 on VVOS 11.04,
-->upgrade to 8.9.3 by installing PHNE_25984.
-->Then apply sendmail.893.11.00 as described below.
-->If you are already running sendmail 8.9.3 on
-->VVOS 11.04, apply sendmail.893.11.00 as described below.
-->VVOS does not support the web upgrade version of
-->sendmail 8.11.1.
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
**REVISED 02**
The display will show Version #.#.#
--> HP Versions affected: 8.7.x, 8.8.6, 8.9.3, 8.11.1
Download the appropriate file:
For HP-UX 10.10: sendmail.886.10.01.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.811.11.00.gz for 8.11.1
sendmail.893.11.00.gz for 8.9.3
For HP-UX 11.11: sendmail.811.11.11.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
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: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
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 02**
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".
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/AwUBPmfL9eAfOvwtKn1ZEQKQ5QCfWOQH71k+fsjzf5qWcj9ChZmnq3AAoLw/
O6079gd/tjGqehze6R3yEaQ1
=uyue
-----END PGP SIGNATURE-----
-----End of Document ID: HPSBUX0302-246--------------------------------------
|
|
Go to the Top of This SecurityTracker Archive Page
|