-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

        ESB-2003.0668 -- HEWLETT-PACKARD COMPANY SECURITY BULLETIN
             SSRT3603 wu-ftpd off by one vulnerability (rev.1)
                             22 September 2003

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                wu-ftpd
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.22
                        HP-UX 11.11
                        HP-UX 11.00
Platform:               HP9000 Series 700/800
Impact:                 Root Compromise
Access Required:        Remote
CVE Names:              CAN-2003-0466

Ref:                    AL-2003.13
                        ESB-2003.0613

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 -----------------------------------------------------------------
**REVISED 01**
 Source: HEWLETT-PACKARD COMPANY
 SECURITY BULLETIN: HPSBUX0309-277
 Originally issued: 02 September 2003
 Last revised: 15 September 2003
 SSRT3603 wu-ftpd off by one vulnerability (rev.1)
 -----------------------------------------------------------------

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: The wu-ftpd program is potentially vulnerable to a buffer
         overflow.

IMPACT: Potential remote denial of service.

PLATFORM: HP-UX releases B.11.00, B.11.11, and B.11.22 running
          wu-ftpd.

SOLUTION: Install replacement ftpd file, web upgrade, or disable
          ftp write access.

MANUAL ACTIONS: Yes - NonUpdate
 -->            B.11.00 - Install web upgrade.
 -->            B.11.11 - Install web upgrade.
 -->            B.11.22 - Install replacement ftpd file.

AVAILABILITY:  The files are available now via ftp.
 -->           The web upgrade is available on
 -->           software.hp.com.

CHANGE SUMMARY: Rev.01 - B.11.00 and B.11.11 web upgrades
                         are available.
 -----------------------------------------------------------------
 A. Background
    This potential vulnerability has been publicly reported:
    <http://www.kb.cert.org/vuls/id/743092>

    Note:  The vulnerability report above mentions a problem with
           realpath(3) in addition to the wu-ftpd problem.  The
           realpath(3) supplied with HP-UX is not vulnerable.
           Only the wu-ftpd is potentially vulnerable.

     AFFECTED VERSIONS

     The following is a list by HP-UX revision of
     affected filesets and the fileset revision or
     patch containing the fix.  To determine if a
     system has an affected version, search the
     output of "swlist -a revision -l fileset"
     for an affected fileset, then determine if
     a fixed revision or the applicable patch is
     installed.

     HP-UX B.11.22
     =============
     InternetSrvcs.INETSVCS2-RUN
     fix: install ftpd.1122 or disable ftp write access

     HP-UX B.11.11
     =============
     WUFTP-26.INETSVCS-FTP
 --> fix: revision B.11.11.01.003 or subsequent
 -->      (WU-FTPD 2.6.1 from software.hp.com)

     HP-UX B.11.00
     =============
     WUFTP-26.INETSVCS-FTP
 --> fix: revision B.11.00.01.003 or subsequent
 -->      (WU-FTPD 2.6.1 from software.hp.com)

     END AFFECTED VERSIONS


 B. Recommended solution

    Install replacement ftpd file, web upgrade,  or disable
    ftp write access.

    Wu-ftp may not be present on B.11.00 and B.11.11.
    Verify that a fileset containing wu-ftp is installed
    by running:

        swlist -l fileset | grep WUFTP-26.INETSVCS-FTP

**REVISED 01**
 -->For B.11.00 and B.11.11 install WU-FTPD 2.6.1 or subsequent
 -->from <http://software.hp.com>.

**REVISED 01**
 -->For B.11.22:

       a. Download the file from the following ftp site
          into a protected directory such as /etc.

        System:    hprc.external.hp.com  (192.170.19.51)
        Login:     wuftp
        Password:  wuftp

        FTP Access: ftp://wuftp:wuftp@hprc.external.hp.com/
                or: ftp://wuftp:wuftp@192.170.19.51/
                or: ftp hprc.external.hp.com

        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:
        - Un-check the option:
                  [ ] Enable folder view for FTP sites


       b. Verify the cksum or the md5 sum.

          cksum:
          1095458663 553468 ftpd.1122

          MD5 (ftpd.1122) = c0bfdd16bc8218048e1e8ad7f4648632

     Note: If you wish to verify the md5 sum and you do not
           have a copy of md5, please refer to:
               HPSBUX9408-016
               Patch sums and the MD5 program
     Note: Using your itrc account security bulletins can be
          found here:
     http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin

     c. Install the file.

        cd to the directory containing the new ftpd files.

        cp ftpd.1122 /usr/lbin/ftpd.1122
        cd /usr/lbin
        chown bin:bin ftpd.1122
        chmod 544 ftpd.1122
        mv ftpd ftpd.orig
        mv ftpd.1122 ftpd


 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.

    NOTE: Using your itrc account security bulletins can be
          found here:
    http://itrc.hp.com/cki/bin/doc.pl/screen=ckiSecurityBulletin


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

    The PGP key used to sign this bulletin is available from
    several PGP Public Key servers.  The key identification
    information is:

       2D2A7D59
       HP Security Response Team (Security Bulletin signing only)
       <security-alert@hp.com>
       Fingerprint =
         6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

    If you have problems locating the key please write to
    security-alert@hp.com.  Please note that this key is
    for signing bulletins only and is not the key returned
    by sending 'get key' to security-alert@hp.com.


 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 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/AwUBP2YQWOAfOvwtKn1ZEQIVXACdHeywNs7pvjxjcc0zd1qSZQxVI9MAnj+D
nls7i8vACQlEEbXCD9Jg7k3W
=JwE2
- -----END PGP SIGNATURE-----

- --------------------------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 follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

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 computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

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-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBP26M0Sh9+71yA2DNAQHnogQAmrJ7iasmwGxU2AAirsJgxfewV8ImKV+K
OBk6nyO5Ef1H4PfZGquze+y9pS4OG5lr/uSIZXDmasB45FMna7Mc9hFi8zWAhE2C
uQ1ugTVAy+dKNRitu+1YNrF7ijeV6pyaJ5ODk7fjeI3tG2w0Ad/JCwLr2++JiSTw
8WU8mvoGO3s=
=lq5P
-----END PGP SIGNATURE-----