![]() |
|
ESB-2002.721 -- HEWLETT-PACKARD SECURITY BULLETIN: HPSBUX0212-234 -- Security Vulnerability in smrsh (rev.1) |
|
Date: 23 December 2002 Original URL: http://www.auscert.org.au/render.html?cid=1&it=2654 References: ESB-2002.712 ESB-2003.0696 Click here for PGP verifiable version -----BEGIN PGP SIGNED MESSAGE-----
===========================================================================
AUSCERT External Security Bulletin Redistribution
ESB-2002.721 -- HEWLETT-PACKARD SECURITY BULLETIN: HPSBUX0212-234
Security Vulnerability in smrsh (rev.1)
23 December 2002
===========================================================================
AusCERT Security Bulletin Summary
---------------------------------
Product: smrsh (Sendmail Restricted Shell)
Vendor: Hewlett-Packard
Operating System: HP-UX 11.00
HP-UX 11.04
HP-UX 11.11
HP-UX 11.22
Platform: HP9000 Series 700/800
Impact: Execute Arbitrary Code/Commands
Access Required: Remote
Ref: ESB-2002.712
- --------------------------BEGIN INCLUDED TEXT--------------------
Document ID: HPSBUX0212-234
Date Loaded: 20021217
Title: SSRT2432 Security Vulnerability in smrsh (rev.1)
-----------------------------------------------------------------
**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: 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:
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.
------------------------------------------------------------------
(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.
________________________________________________________________
- -----End of Document ID: HPSBUX0212-234--------------------------------------
- --------------------------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 author's website 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/render.html?cid=1980
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: http://www.auscert.org.au/render.html?it=1967
iQCVAwUBPgcoDyh9+71yA2DNAQG87AP/dCuMA7ANp4DBfTR66t/02T7hogmoeKXr
nkKSljF/N8xtL4f9EsiXsmnR2OkdK4dujJPjLppNb0ScHWGjAqsyseeFVfCZFt06
rYpXFpWaN/FRQt3it0WzbWZl8TYaGuoSJ3MntcAhMX1tIRwwSFct+AJ7QIjhEbkl
fQ9IHFxA51Q=
=NtXk
-----END PGP SIGNATURE-----
|