From: UNIRAS (UK Govt CERT) [uniras@niscc.gov.uk] Sent: 02 October 2003 10:33 To: uniras@niscc.gov.uk Cc: interim@lists.niscc.gov.uk Subject: UNIRAS Brief - 549/03 - Hewlett-Packard - Potential Security Vulnerability in socket programs + sendmail *** PGP SIGNATURE VERIFICATION *** *** Status: Good Signature *** Signer: UNIRAS (0xB32B9DFD) *** Signed: 02/10/2003 10:32:34 *** Verified: 02/10/2003 10:33:56 *** BEGIN PGP VERIFIED MESSAGE *** ---------------------------------------------------------------------------------- UNIRAS (UK Govt CERT) Briefing Notice - 549/03 dated 02.10.03 Time: 10:33 UNIRAS is part of NISCC(National Infrastructure Security Co-ordination Centre) ---------------------------------------------------------------------------------- UNIRAS material is also available from its website at www.uniras.gov.uk and Information about NISCC is available from www.niscc.gov.uk ---------------------------------------------------------------------------------- Title ===== Hewlett-Packard Security Bulletin: 1: Potential Security Vulnerability in socket programs 2: Potential Security Vulnerability in sendmail Detail ====== 1: Potential Security Vulnerability in socket programs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ----------------------------------------------------------------- Source: HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0309-283 Originally issued: 29 September 2003 SSRT3637 Potential Security Vulnerability in socket programs ----------------------------------------------------------------- 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 socket programs. IMPACT: Potential for a local user to cause a system crash. PLATFORM: HP-UX B.11.00 SOLUTION: Install PHNE_24715 or subsequent. MANUAL ACTIONS: No AVAILABILITY: The patch is available now. ----------------------------------------------------------------- A. Background AFFECTED VERSIONS The following is a list by HP-UX revision of affected filesets or patches and fix information. To determine if a system has an affected version, search the output of "swlist -a revision -l fileset" for an affected fileset or patch, then determine if a fixed revision or applicable patch is installed. HP-UX B.11.00 ============= OS-Core.CORE2-KRN Networking.NET-KRN Networking.NET-PRG Networking.NET-RUN Networking.NET2-KRN Networking.NMS2-KRN OS-Core.CORE2-KRN Networking.NET2-KRN Networking.NMS2-KRN fix: install PHNE_24715 or subsequent END AFFECTED VERSIONS B. Recommended solution Install PHNE_24715 or subsequent. 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. Please note that installing the patches listed in the Security Patch Matrix will completely implement a security bulletin _only_ if the MANUAL ACTIONS field specifies "No." The Security Patch Check tool can verify that a security bulletin has been implemented on HP-UX 11.XX systems providing that the fix is completely implemented in a patch with no manual actions required. The Security Patch Check tool cannot verify fixes implemented via a product upgrade. 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) 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/AwUBP3iXsuAfOvwtKn1ZEQL0EACdHkI06jbTSVtM8ewle/DcIT2rnyoAn1XT CAXXnc32v5kgXoKnCN7M/kiE =PYEo -----END PGP SIGNATURE----- 2: Potential Security Vulnerability in sendmail -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ----------------------------------------------------------------- **REVISED 01** Source: HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0309-281 Originally issued: 21 September 2003 Last revised: 29 September 2003 SSRT3631 Potential Security Vulnerability in sendmail ----------------------------------------------------------------- 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. PLATFORM: HP-UX releases B.11.00, B.11.04 (VVOS), B.11.11, B.11.22 SOLUTION: Download and install the appropriate sendmail file. MANUAL ACTIONS: Yes - NonUpdate Download and install the appropriate sendmail file. AVAILABILITY: The files are available from the ftp site described below. CHANGE SUMMARY: Rev.01 - Added fix for CAN-2003-0681. ----------------------------------------------------------------- A. Background A potential security vulnerability with sendmail has been reported in HP-UX. This potential vulnerability may result in unauthorized Privileged Access. This is the vulnerability reported in CERT/CC CA-2003-2: **REVISED 01** -->New versions are available which also contain the fix for -->the problem reported here: --> AFFECTED VERSIONS The following is a list by HP-UX revision of affected filesets and the fileset revision or patch containing the fix. To determine if a system has an affected version, search the output of "swlist -a revision -l fileset" for an affected fileset, then determine if a fixed revision or the applicable patch is installed. HP-UX B.11.22 ============= InternetSrvcs.INETSVCS2-RUN InternetSrvcs.INETSVCS-RUN --> fix: install sendmail.11.22.r4 file HP-UX B.11.11 ============= SMAIL-811.INETSVCS-SMAIL --> fix: install sendmail.811.11.11.r4 file InternetSrvcs.INETSVCS-RUN --> fix: install sendmail.893.11.11.r4 file HP-UX B.11.04 ============= InternetSrvcs.INETSVCS-RUN --> fix: install sendmail.893.11.00.r4 file HP-UX B.11.00 ============= SMAIL-811.INETSVCS-SMAIL --> fix: install sendmail.811.11.00.r4 file InternetSrvcs.INETSVCS-RUN --> fix: install sendmail.893.11.00.r4 file END AFFECTED VERSIONS B. Recommended solution 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. Install the patches recommended in HPSBUX0304-253. 2. Determine the sendmail version. 3. Download and install the appropriate sendmail file. Details: 1. HPSBUX0304-253 must be implemented before proceeding. 2. Determine the sendmail version. Login in as root: cd /usr/sbin sendmail -d0.1 < /dev/null | grep -i version The display will show Version #.#.# 3. Download and install the appropriate file. a. Download the appropriate file(s). **REVISED 01** --> For HP-UX 11.00: sendmail.811.11.00.r4.gz for 8.11.1 --> sendmail.893.11.00.r4.gz for 8.9.3 --> For HP-UX 11.04: sendmail.893.11.00.r4.gz for 8.9.3 --> For HP-UX 11.11: sendmail.811.11.11.r4.gz for 8.11.1 --> sendmail.893.11.11.r4.gz for 8.9.3 --> For HP-UX 11.22: sendmail.811.11.22.r4.gz fot 8.11.1 b. Unpack the file with gunzip(1) c. Verify the cksum or the md5 sum. cksum: --> 496737019 831488 sendmail.893.11.00.r4 --> 772697028 974848 sendmail.811.11.00.r4 --> 2187106120 864256 sendmail_893.11.11.r4 --> 3209418086 1019904 sendmail.811.11.11.r4 --> 1462405939 2312500 sendmail.811.11.22.r4 --> MD5 (sendmail.893.11.00.r4) = --> cb5dd8680d77ecd8b26050582de0f45d --> MD5 (sendmail.811.11.00.r4) = --> 01d738201b0735f77b1c9888e99a2df1 --> MD5 (sendmail_893.11.11.r4) = --> 4f2f0530f8a2b0316d02de75d6e569d1 --> MD5 (sendmail.811.11.11.r4) = --> 35570fcd2c60e2a208ac633840ac9fc2 --> MD5 (sendmail.811.11.22.r4) = --> c214dd0eb95f03ef7c9a77675d252f93 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 d. Install the appropriate file as follows: Copy the appropriate sendmail file to a protected directory such as /usr/sbin. If you are running sendmail 8.9.3 also copy the appropriate killsm 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.rn sendmail For example, on 11.11: cp sendmail.811.11.11.r4 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 The command runs sendmail as a daemon, which is not supported by VVOS (Virtual Vault Operating System). ================================================== 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) 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/AwUBP3iVwOAfOvwtKn1ZEQISjgCfbUDcfr2XIPZIFbDmG+y0UoYj47sAn1qO 3ZlGdodaAxVupiSBA94co+Cz =0DwE -----END PGP SIGNATURE----- ---------------------------------------------------------------------------------- For additional information or assistance, please contact the HELP Desk by telephone or Not Protectively Marked information may be sent via EMail to: uniras@niscc.gov.uk Office Hours: Mon - Fri: 08:30 - 17:00 Hrs Tel: +44 (0) 20 7821 1330 Ext 4511 Fax: +44 (0) 20 7821 1686 Outside of Office Hours: On Call Duty Officer: Tel: +44 (0) 20 7821 1330 and follow the prompts ---------------------------------------------------------------------------------- UNIRAS wishes to acknowledge the contributions of Hewlett-Packard for the information contained in this Briefing. ---------------------------------------------------------------------------------- This Briefing contains the information released by the original author. Some of the information may have changed since it was released. If the vulnerability affects you, it may be prudent to retrieve the advisory from the canonical site to ensure that you receive the most current information concerning that problem. Reference to any specific commercial product, process, or service by trade name, trademark manufacturer, or otherwise, does not constitute or imply its endorsement, recommendation, or favouring by UNIRAS or NISCC. The views and opinions of authors expressed within this notice shall not be used for advertising or product endorsement purposes. Neither UNIRAS or NISCC shall also accept responsibility for any errors or omissions contained within this briefing notice. In particular, they shall not be liable for any loss or damage whatsoever, arising from or in connection with the usage of information contained within this notice. UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) and has contacts with other international Incident Response Teams (IRTs) in order to foster cooperation and coordination in incident prevention, to prompt rapid reaction to incidents, and to promote information sharing amongst its members and the community at large. ---------------------------------------------------------------------------------- *** END PGP VERIFIED MESSAGE ***