__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN SunOS rpcbind Vulnerability April 8, 1998 23:00 GMT Number H-70a ________________________________________________________________________ PROBLEM: A vulnerability has been identified in the rpcbind function in the libc library. PLATFORM: SunOS versions 5.5.1, 5.5.1_x86, 5.5, 5.5_x86, 5.4, 5.4_x86, and 5.3. DAMAGE: This vulnerability may allow an attacker to gain unauthorized access if exploited. SOLUTION: Apply vendor patches specified below. ________________________________________________________________________ VULNERABILITY It is highly recommended that patches be installed ASSESSMENT: immediately. ________________________________________________________________________ [ Appended on April 8, 1998 with additional vendor information ] [ Start Sun Microsystems, Inc Advisory ] - ------------------------------------------------------------------------------ Sun Microsystems, Inc. Security Bulletin Bulletin Number: #00142 Date: June 4 1997 Cross-Ref: Title: Vulnerability in rpcbind - ------------------------------------------------------------------------------ Permission is granted for the redistribution of this Bulletin, so long as the Bulletin is not edited and is attributed to Sun Microsystems. Portions may also be excerpted for re-use in other security advisories so long as proper attribution is included. Any other use of this information without the express written consent of Sun Microsystems is prohibited. Sun Microsystems expressly disclaims all liability for any misuse of this information by any third party. - ------------------------------------------------------------------------------ 1. Bulletins Topics Sun announces the release of patches for Solaris 2.5.1, 2.5, 2.4, and 2.3 (SunOS 5.5.1, 5.5, 5.4, and 5.3), that relate to a vulnerability in the rpcbind program, which can aid an attacker to gain unauthorized access if exploited. Sun strongly recommends that you install the patches listed in section 4 immediately on every affected system. 2. Who is Affected Vulnerable: SunOS versions 5.5.1, 5.5.1_x86, 5.5, 5.5_x86, 5.4, 5.4_x86, and 5.3. Not vulnerable: All other supported versions of SunOS This vulnerability is fixed in the upcoming release of Solaris. 3. Understanding the Vulnerability The rpcbind program is a server that converts RPC program numbers into universal addresses. When an RPC service is started, it tells rpcbind the address at which it is listening, and the RPC program numbers it is prepared to serve. When a client wishes to make an RPC call to a given program number, it first contacts rpcbind on the server machine to determine the address where RPC requests should be sent. Under Solaris 2.x, rpcbind listens not only on TCP port 111 and UDP port 111, but also on a UDP port number greater than 32770. The exact number depends on the OS release and architecture. This results in a large number of packet filters which intend to block access to rpcbind/portmapper being ineffective. Instead of sending requests to TCP or UDP port 111, the attacker simply sends them to the other UDP port. This vulnerability allows an attacker to obtain remote RPC program information even if TCP or UDP port 111 is being filtered. It can also aid an attacker to gain unauthorized access to hosts running vulnerable versions of the software. 4. List of Patches The vulnerability relating to rpcbind is fixed by the following patches: OS version Patch ID ---------- -------- SunOS 5.5.1 104331-02 SunOS 5.5.1_x86 104332-02 SunOS 5.5 104357-02 SunOS 5.5_x86 104358-02 SunOS 5.4 102070-03 SunOS 5.4_x86 102071-03 SunOS 5.3 102034-02 5. Checksum Table The checksum table below shows the BSD checksums (SunOS 5.x: /usr/ucb/sum), SVR4 checksums (SunOS 5.x: /usr/bin/sum), and the MD5 digital signatures for the above-mentioned patches that are available from: ftp://sunsolve1.sun.com/pub/patches/patches.html These checksums may not apply if you obtain patches from your answer centers. File Name BSD SVR4 MD5 - --------------- --------- --------- -------------------------------- 104331-02.tar.Z 64512 111 17253 222 29C2D5649C56A3D64E1F1DFCE3783842 104332-02.tar.Z 56808 111 23404 221 4B5D28F4A686166C4C147BE4E9563B8C 104357-02.tar.Z 27488 111 31772 222 316B03F737FC61DC09877C2BB822E7EE 104358-02.tar.Z 22598 110 46888 220 1665E8724D0A3DB401A00BE812630A37 102070-03.tar.Z 32763 100 14089 200 31FB11BC9D89A6D540F87624D4A2CFAE 102071-03.tar.Z 21217 100 18859 199 76DDAF2CAE25535A9AE932F3B0C98E3A 102034-02.tar.Z 23648 100 49973 199 243CD25673D87D0277F5CFE06E327347 - ------------------------------------------------------------------------------ Sun acknowledges with thanks Secure Networks, Inc. for their assistance in the preparation of this bulletin. - ------------------------------------------------------------------------------ APPENDICES A. Patches listed in this bulletin are available to all Sun customers via World Wide Web at: ftp://sunsolve1.sun.com/pub/patches/patches.html Customers with Sun support contracts can also obtain patches from local Sun answer centers and SunSITEs worldwide. B. To report or inquire about a security problem with Sun software, contact one or more of the following: - Your local Sun answer centers - Your representative computer security response team, such as CERT - Sun Security Coordination Team. Send email to: security-alert@sun.com C. To receive information or subscribe to our CWS (Customer Warning System) mailing list, send email to: security-alert@sun.com with a subject line (not body) containing one of the following commands: Command Information Returned/Action Taken ------- --------------------------------- HELP An explanation of how to get information LIST A list of current security topics QUERY [topic] The mail containing the question is relayed to the Security Coordination Team for response. REPORT [topic] The mail containing the text is treated as a security report and forwarded to the Security Coordination Team. We do not recommend that detailed problem descriptions be sent in plain text. SEND topic A short status summary or bulletin. For example, to retrieve a Security Bulletin #00138, supply the following in the subject line (not body): SEND #138 SUBSCRIBE Sender is added to our mailing list. To subscribe, supply the following in the subject line (not body): SUBSCRIBE cws your-email-address Note that your-email-address should be substituted by your email address. UNSUBSCRIBE Sender is removed from our mailing list. [ End Sun Microsystems, Inc Advisory ] [ Append Sun Microsystems, Inc Advisory ] ________________________________________________________________________________ Sun Microsystems, Inc. Security Bulletin Bulletin Number: #00167 Date: April 8, 1998 Cross-Ref: Title: rpcbind ________________________________________________________________________________ The information contained in this Security Bulletin is provided "AS IS." Sun makes no warranties of any kind whatsoever with respect to the information contained in this Security Bulletin. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY WARRANTY OF NON-INFRINGEMENT OR IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ARE HEREBY DISCLAIMED AND EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW. IN NO EVENT WILL SUN MICROSYSTEMS, INC. BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF ANY THEORY OF LIABILITY ARISING OUT OF THE USE OF OR INABILITY TO USE THE INFORMATION CONTAINED IN THIS SECURITY BULLETIN, EVEN IF SUN MICROSYSTEMS, INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. If any of the above provisions are held to be in violation of applicable law, void, or unenforceable in any jurisdiction, then such provisions are waived to the extent necessary for this disclaimer to be otherwise enforceable in such jurisdiction. ________________________________________________________________________________ 1. Bulletins Topics Sun announces the release of patches for Solaris(tm) 2.6, 2.5.1, 2.5, 2.4, and 2.3 (SunOS(tm) 5.6, 5.5.1, 5.5, 5.4, and 5.3), which relate to a vulnerability in the rpcbind program. Sun recommends that you install the patches listed in section 4 immediately on systems running SunOS 5.6, 5.5.1, 5.5, 5.4, and 5.3. 2. Who is Affected Vulnerable: SunOS versions 5.6, 5.6_x86, 5.5.1, 5.5.1_x86, 5.5, 5.5_x86, 5.4, 5.4_x86, and 5.3. Not vulnerable: All other supported versions of SunOS. 3. Understanding the Vulnerability The rpcbind program is a server that converts RPC program numbers into universal addresses. When an RPC service is started, it registers itself with rpcbind by telling rpcbind the address at which the RPC service is listening, and the RPC program numbers it is prepared to serve. A vulnerability has been discovered in rpcbind which, if exploited, can be used to overwrite arbitrary files and permit unauthorized system access. 4. List of Patches The following patches are available in relation to the above problem. OS version Patch ID __________ ________ SunOS 5.6 105216-03 SunOS 5.6_x86 105217-03 SunOS 5.5.1 104331-07 SunOS 5.5.1_x86 104332-07 SunOS 5.5 104357-05 SunOS 5.5_x86 104358-05 SunOS 5.4 102070-06 SunOS 5.4_x86 102071-06 SunOS 5.3 102034-05 _______________________________________________________________________________ Sun acknowledges with thanks AUSCERT for their assistance in this matter. _______________________________________________________________________________ APPENDICES A. Patches listed in this bulletin are available to all Sun customers via World Wide Web at: B. Checksums for the patches listed in this bulletin are available via World Wide Web at: C. Sun security bulletins are available via World Wide Web at: D. Sun Security Coordination Team's PGP key is available via World Wide Web at: E. To report or inquire about a security problem with Sun software, contact one or more of the following: - Your local Sun answer centers - Your representative computer security response team, such as CERT - Sun Security Coordination Team. Send email to: security-alert@sun.com F. To receive information or subscribe to our CWS (Customer Warning System) mailing list, send email to: security-alert@sun.com with a subject line (not body) containing one of the following commands: Command Information Returned/Action Taken _______ _________________________________ help An explanation of how to get information key Sun Security Coordination Team's PGP key list A list of current security topics query [topic] The email is treated as an inquiry and is forwarded to the Security Coordination Team report [topic] The email is treated as a security report and is forwarded to the Security Coordinaton Team. Please encrypt sensitive mail using Sun Security Coordination Team's PGP key send topic A short status summary or bulletin. For example, to retrieve a Security Bulletin #00138, supply the following in the subject line (not body): send #138 subscribe Sender is added to our mailing list. To subscribe, supply the following in the subject line (not body): subscribe cws your-email-address Note that your-email-address should be substituted by your email address. unsubscribe Sender is removed from the CWS mailing list. ________________________________________________________________________________ Copyright 1998 Sun Microsystems, Inc. All rights reserved. Sun, Sun Microsystems, Solaris and SunOS are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. This Security Bulletin may be reproduced and distributed, provided that this Security Bulletin is not modified in any way and is attributed to Sun Microsystems, Inc. and provided that such reproduction and distribution is performed for non-commercial purposes. [ End Sun Microsystems, Inc Advisory ] ________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun Microsystems, Secure Networks, Inc. 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 925-422-8193 FAX: +1 925-423-8002 STU-III: +1 925-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 925-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 (198.128.39.53) Modem access: +1 (925) 423-4753 (28.8K baud) +1 (925) 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 Majordomo, 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: E-mail to ciac-listproc@llnl.gov or majordomo@tholia.llnl.gov: subscribe list-name e.g., subscribe ciac-notes You will receive an acknowledgment email immediately with a confirmation that you will need to mail back to the addresses above, as per the instructions in the email. This is a partial protection to make sure you are really the one who asked to be signed up for the list in question. If you include the word 'help' in the body of an email to the above address, it will also send back an information file on how to subscribe/unsubscribe, get past issues of CIAC bulletins via email, etc. 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 via WWW at http://www.first.org/. 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) H-60: Vulnerability in metamail H-61: SGI IRIX df, pset, and eject Buffer Overrun Vulnerabilities H-62: SGI IRIX ordist, login/scheme Buffer Overrun Vulnerability H-63: ftpd Signal Handling Vulnerability H-64: SGI IRIX login LOCKOUT parameter Vulnerability H-65: SGI IRIX rld Security Vulnerability H-66: Vulnerability in suidperl (sperl) H-67: Red Hat Linux X11 Libraries Buffer Overflow H-68: Windows95 Network Password Vulnerability H-69: Vulnerability in getopt (3) -----BEGIN PGP SIGNATURE----- Version: 4.0 Business Edition iQCVAwUBM6bHqrnzJzdsy3QZAQHCagQAyrC1/t6X9Chvgg8SfCkp233azp4SB8Mr wGk//QYIZDszxil5e6bX0rhrJimoFf/lfMeIsBzCYHmaR+X5s+RIiYtCAwmtKzoj bHwLbS4PZvvO0jTFrSv46Oidy7IZG4qVx5KT//Vw2n34dU6EeNtCmg3RD+BrAitV XzWwqLzFtKU= =edJ0 -----END PGP SIGNATURE-----