SSRT2432 Security Vulnerability in smrsh (rev.1)
From: Security Alert (secure@cup.hp.com)
Date: 12/20/02
- Next message: Security Alert: "SSRT2438 Sec. Vulnerability in JAVA Bytecode Verifier"
- Previous message: Ben Webb: "Re: Is ttsh still OK?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: secure@cup.hp.com (Security Alert) Date: 20 Dec 2002 14:04:34 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-----------------------------------------------------------------
**REVISED 01**
Source: HEWLETT-PACKARD COMPANY
SECURITY BULLETIN: HPSBUX0212-234
Originally issued: 19 December 2002
Last revision: 20 December 2002
SSRT2432 smrsh restrictions bypass
-----------------------------------------------------------------
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: Sendmail Restricted Shell (smrsh) may let local users
bypass restrictions to execute code.
IMPACT: The potential vulnerability may allow authorized users
to execute unauthorized programs.
PLATFORM: HP 9000 Series 700 and 800 running HP-UX 11.00,
- -->> 11.11, 11.22 running sendmail version 8.11.1 ONLY.
SOLUTION: Until patches are available download and install
fixed versions of /usr/sbin/smrsh from the ftp
site.
MANUAL ACTIONS: Yes - NonUpdate
Download and install fixed versions of
/usr/sbin/smrsh from the ftp site.
AVAILABILITY: This bulletin will be revised when patches
are available.
CHANGE SUMMARY: Revision 01 - Only sendmail version 8.11.1
is vulnerable.
------------------------------------------------------------------
**REVISED 01**
A. Background
Sendmail Restricted Shell (smrsh) may let local users
- -->>bypass restrictions to execute code. The only vulnerable
- -->>version delivered on HP-UX is sendmail 8.11.1. This version
- -->>is available as a web upgrade for HP-UX 11.00 and 11.11.
- -->>Sendmail version 8.11.1 is delivered with HP-UX 11.22.
- -->> If "what /usr/bin/smrsh" returns the following:
- -->>
- -->> /usr/sbin/smrsh:
- -->> smrsh.c 8.31.4.5 (Berkeley) 2001/07/16
- -->>
- -->>smrsh must be replaced as indicated in Section B (below).
HP Tru64 UNIX is not vulnerable to this reported problem.
B. Recommended solution
Download the appropriate files from:
System: hprc.external.hp.com (192.170.19.51)
Login: smrsh
Password: smrsh1
FTP Access: smrsh1@hprc.external.hp.com/">ftp://smrsh:smrsh1@hprc.external.hp.com/
or: ftp://smrsh:smrsh1@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:
**REVISED 01**
- -->> smrsh.1100
smrsh.1111
smrsh.1122
cksum 3401290743 20480 smrsh.1100
cksum 3416816647 16384 smrsh.1111
cksum 3349307890 16020 smrsh.1122
If you wish to verify the md5 sums please refer to:
HPSBUX9408-016
Patch sums and the MD5 program
MD5 (smrsh.1100) = 729434fce224e59351f8ef0d84123c3b
MD5 (smrsh.1111) = bfd0585d4b11053792d202c1201ac60b
MD5 (smrsh.1122) = d4e75fd3dfbc130924c2ff0e22e92d46
Copy the appropriate files to a secure directory,
for example /. Then:
**REVISED 01**
- -->> If the following command returns nothing smrsh is not
- -->> enabled. In that case the sendmail daemon does not
- -->> need to be stopped and restarted.
- -->>
- -->> /usr/sbin/sendmail -d0.15 nobody < /dev/null | grep smrsh
- -->>
- -->> If smrsh is enabled stop the sendmail daemon by executing
- -->> the following command:
- -->> /sbin/init.d/sendmail stop
- -->> Restart the sendmail daemon after replacing smrsh.
- -->> Mail services for receiving mail will be unavailable
- -->> until the sendmail daemon has been restarted.
cd /usr/sbin
mv smrsh smrsh.orig
**REVISED 01**
- -->> cp /smsrh.1100 smrsh # 11.00
or
cp /smsrh.1111 smrsh # 11.11
or
cp /smsrh.1122 smrsh # 11.22
chmod 511 smrsh
chown bin:bin smrsh
**REVISED 01**
- -->> Restart the sendmail daemon if necessary by executing the
- -->> following command:
- -->> /sbin/init.d/sendmail start
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 2002 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/AwUBPgMe6OAfOvwtKn1ZEQKvrACfceO/kmuwuwSB9t4usXvf0NgecjcAoI00
aYaJUNwxH4HrLa2ZNbsCTqhM
=n/ZL
-----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: Security Alert: "SSRT2438 Sec. Vulnerability in JAVA Bytecode Verifier"
- Previous message: Ben Webb: "Re: Is ttsh still OK?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]