SSRT2336 Security Vulnerability in XDR library (rev.3)
From: Security Alert (secure@cup.hp.com)
Date: 02/27/03
- Next message: Splatter: "Re: Any usage of DES cryptosystem in applications?"
- Previous message: Security Alert: "SSRT2316 Security Vulnerability in DNS and resolver libraries (rev.9)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: secure@cup.hp.com (Security Alert) Date: Thu, 27 Feb 2003 14:15:33 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----------------------------------------------------------------
**REVISED 03**
Source: HEWLETT-PACKARD COMPANY
SECURITY BULLETIN: HPSBUX0209-215
Originally issued: 09 September 2002
Last revised: 27 February 2003
SSRT2336 Security Vulnerability in XDR library
-----------------------------------------------------------------
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 buffer overflow in XDR library.
IMPACT: Potential unauthorized access, denial of service.
PLATFORM: HP 9000 Series 700 and 800 10.20, 10.24, 11.00,
11.04, 11.11, and 11.22
SOLUTION: Until patches are available manually install the
appropriate fixed libraries.
Install PHCO_27882 for 10.24.
MANUAL ACTIONS: Yes - NonUpdate
Install the appropriate fixed libraries.
Install PHCO_27882 for 10.24.
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"
Rev.02 - added 10.24 and 11.04, also added libc.1
for 11.00, 11.11, and 11.22.
Rev.03 - corrected scripts
------------------------------------------------------------------
A. Background
CERT Advisory CA-2002-25 reports an integer overflow in
certain implementations of XDR libraries. Libraries supplied
with HP-UX 10.20, 10.24, 11,00, 11.04, 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:
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: xdr1@hprc.external.hp.com/">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
libc.1.gz
libc.1.PHCO_27882.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.so.1.32_11.22.IA.gz
libnsl.so.1.64_11.22.IA.gz
The cksum output:
2238979170 9676800 PHCO_26152.depot
3415580416 1867776 libc.1
1011129778 1814528 libc.1.PHCO_27882
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
2227616066 1490048 libnsl.so.1.32_11.22.IA
3162410426 1564768 libnsl.so.1.64_11.22.IA
Note: The patches which supply the libc and libnsl
libraries require that the system be rebooted.
It would be best to carry out the manual
installation below in init state 2 followed
by a reboot. Otherwise programs which were
running when the libraries were changed would
continue to use the old version of the libraries.
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
Any applications that use the RPC/XDR APIs in libc.a
must be relinked and restarted.
For 10.24
====================================
Install PHCO_27882. This patch is available from
the itrc.
**REVISED 03**
For 11.00
====================================
#cd /usr/lib
#cp /libnsl.1.32_11.00 libnsl.1.new
#cp /libnsl.a.32_11.00 libnsl.a.new
#cp /libc.1 libc.1.new
#chmod 555 libnsl.1.new
#chmod 444 libnsl.a.new
#chmod 555 libc.1.new
#chown bin:bin libnsl.1.new
#chown bin:bin libnsl.a.new
#chown bin:bin libc.1.new
#mv libnsl.1 libnsl.1.orig
#mv libnsl.a libnsl.a.orig
#mv libc.1 libc.1.orig
#mv libnsl.1.new libnsl.1
#mv libnsl.a.new libnsl.a
#mv libc.1.new libc.1
#cd /usr/lib/pa20_64
#cp /libnsl.1.64_11.00 libnsl.1.new
#cp /libnsl.a.64_11.00 libnsl.a.new
#chmod 555 libnsl.1.new
#chmod 444 libnsl.a.new
#chown bin:bin libnsl.1.new
#chown bin:bin libnsl.a.new
#mv libnsl.1 libnsl.1.orig
#mv libnsl.a libnsl.a.orig
#mv libnsl.1.new libnsl.1
#mv libnsl.a.new libnsl.a
After this, any applications that use libnsl.1 must be
restarted. Any applications that use libnsl.a must
be relinked and restarted.
Any applications that use libc.1 must be restarted.
Rebooting is the recommended way to restart the applications
using libnsl.1 or libc.1.
**REVISED 03**
For 11.04
====================================
#cd /usr/lib
#cp /libnsl.1.32_11.00 libnsl.1.new
#cp /libnsl.a.32_11.00 libnsl.a.new
#cp /libc.1.PHCO_27882 libc.1.new
#chmod 555 libnsl.1.new
#chmod 444 libnsl.a.new
#chmod 555 libc.1.new
#chown bin:bin libnsl.1.new
#chown bin:bin libnsl.a.new
#chown bin:bin libc.1.new
#mv libnsl.1 libnsl.1.orig
#mv libnsl.a libnsl.a.orig
#mv libc.1 libc.1.orig
#mv libnsl.1.new libnsl.1
#mv libnsl.a.new libnsl.a
#mv libc.1.new libc.1
#cd /usr/lib/pa20_64
#cp /libnsl.1.64_11.00 libnsl.1.new
#cp /libnsl.a.64_11.00 libnsl.a.new
#chmod 555 libnsl.1.new
#chmod 444 libnsl.a.new
#chown bin:bin libnsl.1.new
#chown bin:bin libnsl.a.new
#mv libnsl.1 libnsl.1.orig
#mv libnsl.a libnsl.a.orig
#mv libnsl.1.new libnsl.1
#mv libnsl.a.new libnsl.a
After this, any applications that use libnsl.1 must be
restarted. Any applications that use libnsl.a must
be relinked and restarted.
Any applications that use libc.1 must be restarted.
Rebooting is the recommended way to restart the applications
using libnsl.1 or libc.1.
**REVISED 03**
For 11.11
====================================
#cd /usr/lib
#cp /libnsl.1.32_11.11 libnsl.1.new
#cp /libnsl.a.32_11.11 libnsl.a.new
#cp /libc.1 libc.1.new
#chmod 555 libnsl.1.new
#chmod 444 libnsl.a.new
#chmod 555 libc.1.new
#chown bin:bin libnsl.1.new
#chown bin:bin libnsl.a.new
#chown bin:bin libc.1.new
#mv libnsl.1 libnsl.1.orig
#mv libnsl.a libnsl.a.orig
#mv libc.1 libc.1.orig
#mv libnsl.1.new libnsl.1
#mv libnsl.a.new libnsl.a
#mv libc.1.new libc.1
#cd /usr/lib/pa20_64
#cp /libnsl.1.64_11.11 libnsl.1.new
#cp /libnsl.a.64_11.11 libnsl.a.new
#chmod 555 libnsl.1.new
#chmod 444 libnsl.a.new
#chown bin:bin libnsl.1.new
#chown bin:bin libnsl.a..new
#mv libnsl.1 libnsl.1.orig
#mv libnsl.a libnsl.a.orig
#mv libnsl.1.new libnsl.1
#mv libnsl.a.new libnsl.a
After this, any applications that use libnsl.1 must be
restarted. Any applications that use libnsl.a must
be relinked and restarted.
Any applications that use libc.1 must be restarted.
Rebooting is the recommended way to restart the applications
using libnsl.1 or libc.1.
**REVISED 03**
For 11.22 IA
====================================
#cd /usr/lib/hpux32
#cp /libnsl.so.1.32_11.22.IA libnsl.so.1.new
#chmod 555 libnsl.so.1.new
#chown bin:bin libnsl.so.1.new
#mv libnsl.so.1 libnsl.so.1.orig
#mv libnsl.so.1.new libnsl.so.1
#cd /usr/lib
#cp /libc.1 libc.1.new
#chmod 555 libc.1.new
#chown bin:bin libc.1.new
#mv libc.1 libc.1.orig
#mv libc.1.new libc.1
#cd /usr/lib/hpux64
#cp /libnsl.so.1.64_11.22.IA libnsl.so.1.new
#chmod 555 libnsl.so.1.new
#chown bin:bin libnsl.so.1.new
#mv libnsl.so.1 libnsl.so.1.orig
#mv libnsl.so.1.new libnsl.so.1
After this, any applications that use libnsl.so.1 must be
restarted.
Rebooting is the recommended way to restart the applications
using libnsl.1 or libc.1.
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:
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
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/AwUBPl4bGeAfOvwtKn1ZEQJJJQCgpC7UawknpWAPwtFQ2Qzcc2ghsxwAn32+
//qhMVgplM5uz7vzl+uiCYYv
=xCPN
-----END PGP SIGNATURE-----
-- Yours truly, HP S/W Security Team WTEC Cupertino, California Return-Path: secure@cup.hp.com Reply-to: security-alert@hp.com
- Next message: Splatter: "Re: Any usage of DES cryptosystem in applications?"
- Previous message: Security Alert: "SSRT2316 Security Vulnerability in DNS and resolver libraries (rev.9)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]