|
-----BEGIN PGP SIGNED MESSAGE----- __________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN HP-UX Vulnerabilities in expreserve, rpc.pcnfsd, rpc.statd July 24, 1996 16:00 GMT Number G-32 ______________________________________________________________________________ PROBLEM: HP has recently released information about fixes to vulnerabilities in expreserve, rpc.pcnfsd, and rpc.statd software. PLATFORM: Any currently supported version of HPUX 9.X or 10.X. DAMAGE: See the HP bulletins below for more information. SOLUTION: Read and implement the recommendations and patches described below. See also CIAC Bulletins G-21 for more information on the rpc.pcnfsd vulnerability and G-22 for more information on the rpc.statd vulnerability. ______________________________________________________________________________ VULNERABILITY These vulnerabilities are widely known -- HP recommends ASSESSMENT: implementing the updates described below as soon as possible. ______________________________________________________________________________ [ Begin HP Bulletin ] - ------------------------------------------------------------------------- HEWLETT-PACKARD SECURITY BULLETIN: #HPSBUX9607-033, 18 July 1996 - ------------------------------------------------------------------------- Hewlett-Packard recommends that the information in the following Security Bulletin should be acted upon as soon as possible. Hewlett- Packard 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: Vulnerability in /usr/lib/expreserve in HP-UX 9.X and 10.X PLATFORM: HP 9000 series 300/400s and 700/800s DAMAGE: The default permissions of file expreserve(1) are in error, thereby allowing users to potentially gain root privileges on the host. SOLUTION: Apply patch PHCO_6363 (series 700/800, HP-UX 9.x), or PHCO_7833 (series 300/400, HP-UX 9.x), or perform the actions described below in releases of HP-UX prior to 9.X, and in 10.X) AVAILABILITY: All patches are available now. _________________________________________________________________________ I. Update A. A private communication to HP described a vulnerability that allows ordinary users to potentially gain super-user privileges. The default permission for the file /usr/lib/expreserve (or on HP-UX 10.X /usr/lbin/expreserve) needs only minimal prvileges. If the patches mentioned above are applied the vulnerability cannot be exploited. In case no patches is available for your host HP-UX release, system administrators are asked to perform the following action to achieve the same result. B. Fixing the problem The vulnerability can be eliminated from releases 9.X of HP-UX by applying a patch. Since some patches will not be made available on some releases of HP-UX (e.g., prior to 9.X, and now 10.0X), affected systems can be protected by system administrators. They should: $ su root # chmod 0555 /usr/lib/expreserve In the case of 10.X systems execute the following to affect the link target: $ su root # chmod 0555 /usr/lbin/expreserve Hewlett-Packard recommends that all customers concerned with the security of their HP-UX systems either apply the appropriate patch or perform the actions described above as soon as possible. C. How to Install the Patch (for HP-UX 9.x) 1. Determine which patch is appropriate for your hardware platform and operating system: PHCO_6363 (series 700/800, HP-UX 9.x), or PHCO_7833 (series 300/400, HP-UX 9.x) 2. Hewlett Packard's HP-UX patches are available via email and World Wide Web To obtain a copy of the HP SupportLine email service user's guide, send the following in the TEXT PORTION OF THE MESSAGE to support@us.external.hp.com (no Subject is required): send guide The users guide explains the HP-UX patch downloading process via email and other services available. World Wide Web service for downloading of patches is available via our URL: (http://us.external.hp.com) 3. Apply the patch to your HP-UX system. 4. Examine /tmp/update.log for any relevant WARNINGs or ERRORs. D. Impact The patch for HP-UX releases 9.X provides a proper permissions /usr/lib/expreserve which fixes the vulnerability. No patches will be available for versions of HP-UX other than 9.X. Instead, the workaround is described above. E. To subscribe to automatically receive future NEW HP Security Bulletins from the HP SupportLine mail service via electronic mail, send an email message to: support@us.external.hp.com (no Subject is required) Multiple instructions are allowed in the TEXT PORTION OF THE MESSAGE, here are some basic instructions you may want to use: To add your name to the subscription list for new security bulletins, send the following in the TEXT PORTION OF THE MESSAGE: subscribe security_info To retrieve an index of all HP Security Bulletins issued to date, send the following in the TEXT PORTION OF THE MESSAGE: send security_info_list To get a patch matrix of current HP-UX and BLS security patches referenced by either Security Bulletin or Platform/OS, put the following in the text portion of your message: send hp-ux_patch_matrix World Wide Web service for browsing of bulletins is available via our URL: (http://us.external.hp.com) Choose "Support news", then under Support news, choose "Security Bulletins" F. To report new security vulnerabilities, send email to security-alert@hp.com Please encrypt 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. Permission is granted for copying and circulating this Bulletin to Hewlett-Packard (HP) customers (or the Internet community) for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to HP, and provided such reproduction and/or distribution is performed for non-commercial purposes. Any other use of this information is prohibited. HP is not liable for any misuse of this information by any third party. _______________________________________________________________________ - ---------------------------------------------------------------------------- Description: Security Vulnerability in rpc.pcnfsd & rpc.statd - ---------------------------------------------------------------------------- - ----------------------------------------------------------------------- HEWLETT-PACKARD SECURITY ADVISORY: #HPSBUX9607-032, 18 July 1996 - ----------------------------------------------------------------------- The information in the following Security Advisory should be acted upon as soon as possible. Hewlett Packard will not be liable for any consequences to any customer resulting from customer's failure to fully implement instructions in this Security Advisory as soon as possible. - ----------------------------------------------------------------------- PROBLEM: Vulnerabilities in rpc.statd and rpc.pcnfsd executables. PLATFORM: HP 9000/300 and 9000/400 systems running any currently supported version of HP-UX 9.X; HP 9000/700 and 9000/800 systems running any currently supported version of HP-UX 9.X or any currently supported version of HP-UX 10.X. DAMAGE: The security of the enterprise and its applications could be compromised. SOLUTION: Apply the following patches based on your system hardware and Operating System revision for the two problems: PHNE_7371 (series 300/400 HP-UX 9.X) and PHNE_7372 (series 300/400 HP-UX 9.X); or PHNE_7072 (series 700/800 HP-UX 9.X), or PHNE_7073 (series 700/800 HP-UX 10.X), or PHNE_8015 (series 700 HP-UX 9.08 BLS), or PHNE_8016 (series 700 HP-UX 9.09 BLS), or PHNE_8017 (series 700 HP-UX 9.09+ BLS, or PHNE_8018 (series 700 HP-UX 10.09 CMW), or PHNE_8019 (series 700 HP-UX 10.09.01 CMW), or PHNE_8020 (series 700 HP-UX 10.16 CMW). AVAILABILITY: All of the above listed patches are available now via the mechanism described below, except for BLS/CMW system patches which will be available after 2 Sept. - ----------------------------------------------------------------------- I. Rpc.Pcnfsd - CERT(sm) Advisory CA-96.08 A. Background The pcnfsd program (also called rpc.pcnfsd) is an authentication and printing program that runs on a UNIX server. The rpc.pcnfsd binary that ships with HP systems contains a vulnerability that could allow a user to change permissions on a restricted file or directory. B. Fixing the problem Hewlett Packard is delivering a set of operating system dependent patches which contain a new version of rpc.pcnfsd. Accompanying each patch is a README file which discusses the general purpose of the patch and describes how to apply it to your system. C. Recommended solution Apply one of the following patches based on your system hardware and operating system revision: s300/s400 9.X - PHNE_7371 (rpc.pcnfsd) s700/s800 9.X - PHNE_7072 (NFS Megapatch) s700/s800 10.X - PHNE_7073 (NFS Megapatch) D. Impact of the patch The patches described above provide a new version of the rpc.pcnfsd executable which fixes the vulnerability. II. Rpc.Pcnfsd - CERT(sm) Advisory CA-96.08 A. Background The pcnfsd program (also called rpc.pcnfsd) is an authentication and printing program that runs on a UNIX server. The rpc.pcnfsd binary that ships with most Unix systems contains a vulnerability that could allow users to execute arbitrary commands on the machine where pcnfsd runs. B. Fixing the problem The rpc.pcnfsd daemon that ships with Hewlett Packard systems does not make the system call that allows this vulnerability. Since HP systems are not vulnerable - there is no fix! III. Rpc.Statd - CERT(sm) Advisory CA-96.09 A. Background The statd program (also called rpc.statd) is the status monitor program that helps keep track of remote file locks. It works in conjunction with the lockd (also called rpc.lockd) daemon. The rpc.statd daemon that ships with HP systems contains a vulnerability that could allow a remote user to delete files on the system running rpc.statd. B. Fixing the problem Hewlett Packard is delivering a set of operating system dependent patches which contain a new version of rpc.statd. Accompanying each patch is a README file which discusses the general purpose of the patch and describes how to apply it to your system. C. Recommended solution Apply one of the following patches based on your system hardware and operating system revision: s300/s400 9.X - PHNE_7372 (rpc.statd) s700/s800 9.X - PHNE_7072 (NFS Megapatch) s700/s800 10.X - PHNE_7073 (NFS Megapatch) D. Impact of the patch The patches described above provide a new version of the rpc.statd executable which fixes the vulnerability. E. To subscribe to automatically receive future NEW HP Security Bulletins from the HP SupportLine mail service via electronic mail, send an email message to: support@us.external.hp.com (no Subject is required) Multiple instructions are allowed in the TEXT PORTION OF THE MESSAGE, here are some basic instructions you may want to use: To add your name to the subscription list for new security bulletins, send the following in the TEXT PORTION OF THE MESSAGE: subscribe security_info To retrieve the index of all HP Security Bulletins issued to date, send the following in the TEXT PORTION OF THE MESSAGE: send security_info_list To get a patch matrix of current HP-UX and BLS security patches referenced by either Security Bulletin or Platform/OS, put the following in the text portion of your message: send hp-ux_patch_matrix World Wide Web service for browsing of bulletins is available via our URL: (http://us.external.hp.com) Choose "Support news", then under Support news, choose "Security Bulletins" F. To report new security vulnerabilities, send email to security-alert@hp.com Please encrypt 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. Permission is granted for copying and circulating this Bulletin to Hewlett-Packard (HP) customers (or the Internet community) for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to HP, and provided such reproduction and/or distribution is performed for non-commercial purposes. Any other use of this information is prohibited. HP is not liable for any misuse of this information by any third party. ______________________________________________________________________ [ End HP Bulletin ] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of HP for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 510-422-8193 FAX: +1 510-423-8002 STU-III: +1 510-423-2604 E-mail: ciac@llnl.gov For emergencies and off-hour assistance, DOE, DOE contractor sites, and the NIH may contact CIAC 24-hours a day. During off hours (5PM - 8AM PST), call the CIAC voice number 510-422-8193 and leave a message, or call 800-759-7243 (800-SKY-PAGE) to send a Sky Page. CIAC has two Sky Page PIN numbers, the primary PIN number, 8550070, is for the CIAC duty person, and the secondary PIN number, 8550074 is for the CIAC Project Leader. Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://ciac.llnl.gov/ Anonymous FTP: ciac.llnl.gov (128.115.19.53) Modem access: +1 (510) 423-4753 (28.8K baud) +1 (510) 423-3331 (28.8K baud) CIAC has several self-subscribing mailing lists for electronic publications: 1. CIAC-BULLETIN for Advisories, highest priority - time critical information and Bulletins, important computer security information; 2. CIAC-NOTES for Notes, a collection of computer security articles; 3. SPI-ANNOUNCE for official news about Security Profile Inspector (SPI) software updates, new features, distribution and availability; 4. SPI-NOTES, for discussion of problems and solutions regarding the use of SPI products. Our mailing lists are managed by a public domain software package called ListProcessor, which ignores E-mail header subject lines. To subscribe (add yourself) to one of our mailing lists, send the following request as the E-mail message body, substituting CIAC-BULLETIN, CIAC-NOTES, SPI-ANNOUNCE or SPI-NOTES for list-name and valid information for LastName FirstName and PhoneNumber when sending E-mail to ciac-listproc@llnl.gov: subscribe list-name LastName, FirstName PhoneNumber e.g., subscribe ciac-notes OHara, Scarlett W. 404-555-1212 x36 You will receive an acknowledgment containing address, initial PIN, and information on how to change either of them, cancel your subscription, or get help. PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained by sending email to docserver@first.org with an empty subject line and a message body containing the line: send first-contacts. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) G-22: rpc.statd Vulnerability G-23: Solaris NIS+ Configuration Vulnerability G-24: FreeBSD Security Vulnerabilities G-25: SUN statd Program Vulnerability G-26: IRIX Desktop Permissions Panel Vulnerability G-27: SCO Kernel Security Vulnerability G-28A: suidperl Vulnerability G-29: dip Program Vulnerability G-30: DEC Software Security Kits G-31: FreeBSD Security Vulnerabilities (ppp, rdist, and rz) RECENT CIAC NOTES ISSUED (Previous Notes available from CIAC) Notes 07 - 3/29/95 A comprehensive review of SATAN Notes 08 - 4/4/95 A Courtney update Notes 09 - 4/24/95 More on the "Good Times" virus urban legend Notes 10 - 6/16/95 PKZ300B Trojan, Logdaemon/FreeBSD, vulnerability in S/Key, EBOLA Virus Hoax, and Caibua Virus Notes 11 - 7/31/95 Virus Update, Hats Off to Administrators, America On-Line Virus Scare, SPI 3.2.2 Released, The Die_Hard Virus Notes 12 - 9/12/95 Securely configuring Public Telnet Services, X Windows, beta release of Merlin, Microsoft Word Macro Viruses, Allegations of Inappropriate Data Collection in Win95 Notes 96-01 - 3/18/96 Java and JavaScript Vulnerabilities, FIRST Conference Announcement, Security and Web Search Engines, Microsoft Word Macro Virus Update -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBMfaakbnzJzdsy3QZAQH05wQAl0JKxNg5HjLLwx0jTkRvLm71Vq1vG8lV S2P8ecUszDx9AZ7hfspgg7rICXy3NRVL0V0nUn/nwU+xuXZPCjn/6Ah0uFD0n+pF /CCQN8513fdCDaxMEq1X0yu96f2L6duinicZA6hUZjLW+yA43Ixd3DDCA61riZfj XwzOFQyTvY0= =bnGR -----END PGP SIGNATURE-----