Users login

Create an account »


Users login

Home » Hacking News » Hewlett Packard HPSBUX0304-257: Rexec privilege escalation

Hewlett Packard HPSBUX0304-257: Rexec privilege escalation

by Nikola Strahija on April 30th, 2003 A vulnerability has been discovered in Rexec, which could allow an Attacker to exploit a buffer overflow vulnerability and thus raise it's user privileges.

Hash: SHA1

Originally issued: 29 April 2003
SSRT3496 Potential Security Vulnerability in rexec

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 rexec(1)

IMPACT: Potential increase in privilege.

PLATFORM: HP 9000 Series 700 and 800 10.20 and 11.00.

SOLUTION: 10.20 - replace libc.1 file.
11.00 - install PHCO_24723 or subsequent.


AVAILABILITY: This bulletin will be updated when a 10.20
patch is available.
A. Background

The SSRT thanks Davide Del Vecchio for
reporting this potential vulnerability to HP.

HP Tru64 UNIX is not vulnerable to this reported problem.

B. Recommended solution

11.00 - Install PHCO_24723 or subsequent. PHCO_24723 has been
superseded. To find the recommended superseding patch
and the latest superseding patch, search the technical
knowledge base on for "PHCO_24723".

10.20 - Download and install libc.1.10.20 as described below.

Note: This libc.1.10.20 also has the fixes for the potential
vulnerabilities mentioned in HPSBUX0208-209 and

System: (
Login: rexec
Password: rexec

Browser ftp access:

ftp://rexec:[email protected]/
ftp://rexec:[email protected]/

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

If you wish to verify the md5 sum please refer to:

Patch sums and the MD5 program

Download libc.1.10.20.gz and unpack with gunzip.

Verify the cksum or md5 sum.

2506697268 1867776 libc.1.10.20

MD5 (libc.1.10.20) = cabd081cee3e980d7f3075bb7c6a505d

Go to init state 2

#DIR=[path to new libc.1]

#cd /usr/lib
#cp libc.1 libc.1.orig
#cp $DIR/libc.1.10.20
#chown bin
#chgrp bin
#chmod 555
#/sbin/mv libc.1 was.libc.1
#/sbin/mv libc.1

Reboot the system.

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

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.


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:

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:

The security patch matrix is also available via anonymous

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:

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
[email protected] Please note that this key is
for signing bulletins only and is not the key returned
by sending 'get key' to [email protected]

D. To report new security vulnerabilities, send email to

[email protected]

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 [email protected]


(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.


Version: PGP Personal Security 7.0.3


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »