Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2002.504 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0209-215 Security Vulnerability in XDR library (rev.1) 13 September 2002 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: XDR library Vendor: Hewlett-Packard Operating System: HP-UX 10.20 HP-UX 11.00 HP-UX 11.11 HP-UX 11.22 Platform: HP9000 Series 700/800 Impact: Execute Arbitrary Code/Commands Denial of Service Access Required: Remote Ref: ESB-2002.394 ESB-2002.497 - --------------------------BEGIN INCLUDED TEXT-------------------- Document ID: HPSBUX0209-215 Date Loaded: 20020909 Title: Security Vulnerability in XDR library (rev.1) ----------------------------------------------------------------- **REVISED 01** HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0209-215 Originally issued: 09 September 2002 Last revised: 12 September 2002 SSRT2336 Security Vulnerability in XDR library ----------------------------------------------------------------- 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 buffer overflow in XDR library. PLATFORM: HP 9000 Series 700 and 800 10.20, 11.00, 11.11, and 11.22 DAMAGE: Potential unauthorized access, denial of service. SOLUTION: Until patches are available manually install the appropriate fixed libraries. MANUAL ACTIONS: Yes - NonUpdate Install the appropriate fixed libraries. Relink any archived programs that call xdr_array(). AVAILABILITY: This bulletin will be updated when patches are available. CHANGE SUMMARY: Rev.01 - corrected "strings" to "strings -a" ------------------------------------------------------------------ A. Background CERT Advisory CA-2002-25 reports an integer overflow in certain implementations of XDR libraries. Libraries supplied with HP-UX 10.20, 11,00, 11.11, and 11.22 are potentially vulnerable. In addition, cross-reference: HP Tru64 UNIX: Case id: SSRT2309 rpc XDR_ARRAY A solution is available as noted in the recent security bulletin SSSRT2275 at http://thenew.hp.com/country/us/eng/support.html Use the SEARCH IN feature box, enter SSRT2275 in the search window. B. Recommended solution Until patches are released download and manually install the appropriate libraries. Note: It will be necessary to relink any programs that call xdr_array() and are linked with archived libraries. There are no known programs supplied by HP which need to be relinked. To test an archived program: **REVISED 01** - -->> strings -a suspect_program | grep xdr_array: If the command above returns "xdr_array: out of memory" the suspect_program will need to the relinked with a fixed library. Download the appropriate files from: System: hprc.external.hp.com (192.170.19.51) Login: xdr Password: xdr1 FTP Access: ftp://xdr:xdr1@hprc.external.hp.com/ or: ftp://xdr:xdr1@192.170.19.51/ 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. The files are: PHCO_26152.depot.gz libnsl.1.32_11.00.gz libnsl.a.32_11.00.gz libnsl.1.64_11.00.gz libnsl.a.64_11.00.gz libnsl.1.32_11.11.gz libnsl.a.32_11.11.gz libnsl.1.64_11.11.gz libnsl.a.64_11.11.gz libnsl.1.32_11.22.PA.gz libnsl.a.32_11.22.PA.gz libnsl.1.64_11.22.PA.gz libnsl.a.64_11.22.PA.gz libnsl.so.1.32_11.22.IA.gz libnsl.so.1.64_11.22.IA.gz The cksum output: 2238979170 9676800 PHCO_26152.depot 3064646304 679936 libnsl.1.32_11.00 498505157 817544 libnsl.a.32_11.00 2630827583 648296 libnsl.1.64_11.00 2205456871 1454504 libnsl.a.64_11.00 744618112 724992 libnsl.1.32_11.11 3459917079 783940 libnsl.a.32_11.11 3659675326 702416 libnsl.1.64_11.11 3120598258 1520436 libnsl.a.64_11.11 2108927814 724992 libnsl.1.32_11.22.PA 4022226526 755840 libnsl.a.32_11.22.PA 3156983214 693992 libnsl.1.64_11.22.PA 2834445134 1441476 libnsl.a.64_11.22.PA 2227616066 1490048 libnsl.so.1.32_11.22.IA 3162410426 1564768 libnsl.so.1.64_11.22.IA Copy the appropriate files to a secure directory, for example /. Then, For 10.20 ==================================== Install PHCO_26152.depot: swinstall -x autoreboot=true -x match_target=true \ -s /PHCO_26152.depot After this any applications that use the RPC/XDR APIs in libc.1 must be restarted. Any applications that use the RPC/XDR APIs in libc.a must be relinked and restarted. Note: It may be preferable to reboot the system rather than attempting to identify applications using the RPC/XDR APIs in libc.1. For 11.00 ==================================== #cd /usr/lib #mv libnsl.1 libnsl.1.orig #mv libnsl.a libnsl.a.orig #cp /libnsl.1.32_11.00 libnsl.1 #cp /libnsl.a.32_11.00 libnsl.a #chmod 555 libnsl.1 #chmod 444 libnsl.a #chmod -R bin:bin libnsl.1 #chmod -R bin:bin libnsl.a. #cd /usr/lib/pa20_64 #mv libnsl.1 libnsl.1.orig #mv libnsl.a libnsl.a.orig #cp /libnsl.1.64_11.00 libnsl.1 #cp /libnsl.a.64_11.00 libnsl.a #chmod 555 libnsl.1 #chmod 444 libnsl.a #chmod -R bin:bin libnsl.1 #chmod -R bin:bin libnsl.a. After this, any applications that use libnsl.1 must be restarted. Any applications that use libnsl.a must be relinked and restarted. For 11.11 ==================================== #cd /usr/lib #mv libnsl.1 libnsl.1.orig #mv libnsl.a libnsl.a.orig #cp /libnsl.1.32_11.11 libnsl.1 #cp /libnsl.a.32_11.11 libnsl.a #chmod 555 libnsl.1 #chmod 444 libnsl.a #chmod -R bin:bin libnsl.1 #chmod -R bin:bin libnsl.a. #cd /usr/lib/pa20_64 #mv libnsl.1 libnsl.1.orig #mv libnsl.a libnsl.a.orig #cp /libnsl.1.64_11.11 libnsl.1 #cp /libnsl.a.64_11.11 libnsl.a #chmod 555 libnsl.1 #chmod 444 libnsl.a #chmod -R bin:bin libnsl.1 #chmod -R bin:bin libnsl.a. After this, any applications that use libnsl.1 must be restarted. Any applications that use libnsl.a must be relinked and restarted. For 11.22 PA ==================================== #cd /usr/lib #mv libnsl.1 libnsl.1.orig #mv libnsl.a libnsl.a.orig #cp /libnsl.1.32_11.22.PA libnsl.1 #cp /libnsl.a.32_11.22.PA libnsl.a #chmod 555 libnsl.1 #chmod 444 libnsl.a #chmod -R bin:bin libnsl.1 #chmod -R bin:bin libnsl.a. #cd /usr/lib/pa20_64 #mv libnsl.1 libnsl.1.orig #mv libnsl.a libnsl.a.orig #cp /libnsl.1.64_11.22.PA libnsl.1 #cp /libnsl.a.64_11.22.PA libnsl.a #chmod 555 libnsl.1 #chmod 444 libnsl.a #chmod -R bin:bin libnsl.1 #chmod -R bin:bin libnsl.a. After this, any applications that use libnsl.1 must be restarted. Any applications that use libnsl.a must be relinked and restarted. For 11.22 IA ==================================== #cd /usr/lib/hpux32 #mv libnsl.so.1 libnsl.so.1.orig #cp /libnsl.so.1.32_11.22.IA libnsl.so.1 #chmod 555 libnsl.so.1 #chmod -R bin:bin libnsl.so.1 #cd /usr/lib/hpux64 #mv libnsl.so.1 libnsl.so.1.orig #cp libnsl.so.1.64_11.22.IA libnsl.so.1 #chmod 555 libnsl.so.1 #chmod -R bin:bin libnsl.so.1 After this, any applications that use libnsl.so.1 must be restarted. 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. 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. 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 of Document ID: HPSBUX0209-215-------------------------------------- - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to use any or all of this information is the responsibility of each user or organisation, and should be done so in accordance with site policies and procedures. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the original authors to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/Information/advisories.html If you believe that your system has been compromised, contact AusCERT or your representative in FIRST (Forum of Incident Response and Security Teams). Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key iQCVAwUBPYHVASh9+71yA2DNAQG/ZAQAidvLHtKxct21UXSd6d7pglHlwR5pL5Yt N1YwtC715GO0zVCZ4kC6E7MEdmz7LN3yhrlk0sNFsVSrLWbZ5LvCh0gkFIX+7Oyt PJre/FnZGYX5ZScHfMB0s70AtoLHBCyfk0k77Sn+DE2Rvh/oPqhemGlvEz2m8Oyk CxcG+BuJDn4= =Heee -----END PGP SIGNATURE-----