AUSCERT External Security Bulletin Redistribution

                      Security Vulnerability in smrsh
                             20 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

- --------------------------BEGIN INCLUDED TEXT--------------------

Document ID:  HPSBUX0212-234
Date Loaded:  20021217
      Title:  SSRT2432  Security Vulnerability in smrsh

 Originally issued: 18 December 2002
 SSRT2432  Security Vulnerability in smrsh

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.04, 11.11, 11.22.

SOLUTION: Until patches are available download and install
          fixed versions of /usr/sbin/smrsh from the ftp

                Download and install fixed versions of
                /usr/sbin/smrsh from the ftp site.

AVAILABILITY:  This bulletin will be revised when patches
               are available.
 A. Background
    Sendmail Restricted Shell (smrsh) may let local users
    bypass restrictions to execute code.
    HP Tru64 UNIX is not vulnerable to this reported problem.

 B. Recommended solution

    Download the appropriate files from:

     System:    hprc.external.hp.com  (
     Login:     smrsh
     Password:  smrsh1

    FTP Access: ftp://smrsh:smrsh1@hprc.external.hp.com/
            or: ftp://smrsh:smrsh1@

      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:

     smrsh.1100  # 11.00 and 11.04

     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:

               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:

      cd /usr/sbin
      mv smrsh smrsh.orig

      cp /smsrh.1100 smrsh  # 11.00 and 11.04
      cp /smsrh.1111 smrsh  # 11.11
      cp /smsrh.1122 smrsh  # 11.22

      chmod 511 smrsh 
      chown bin:bin smrsh

 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.

    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:

    The security patch matrix is also available via anonymous


    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. 

- -----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:


If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security

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.

Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967