Sec. Vulnerability in ftpd Rev.01

Sec. Vulnerability in ftpd Rev.01

Post by Security Ale » Fri, 14 Jul 2000 04:00:00



------------------------------------------------------------------------
**REVISED01** HEWLETT-PACKARD COMPANY SECURITY ADVISORY: #00117, 11 July '00
Last Revised:  12 July '00
------------------------------------------------------------------------

The information in the following Security Advisory 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 Advisory as soon as possible.

------------------------------------------------------------------------
PROBLEM:  The ftp server (ftpd) on HP-UX allows users root access.

PLATFORM:   HP-UX release 11.00 - Both Problem #1 and #2 below;
            HP-UX release 10.20 - Problem #2, setproctitle(), only

DAMAGE:   Possible unauthorized root access.

SOLUTION: Install temporary binary until an official patch is released.

AVAILABILITY:  The temporary binary is available now.

CHANGE SUMMARY: Corrected typo in filename to be installed.
------------------------------------------------------------------------
I.
   A. Background
      There are 2 problems with FTP Server (ftpd) on HP-UX.
      1. ftpd handling of the SITE EXEC command that allows remote
         users to gain root access.   This is possible in the default
         configuration of ftpd on HP-UX 11.00 ONLY.
      2. ftpd does not properly format the parameters to the
         setproctitle() function, allowing users to gain root access.
         This problem applies to both 11.00 and 10.X.

   B. Fixing the problem
      All system administrators are encouraged to install our temporary
      binary until an official patch is released.  The file can be
      retrieved to simply replace the original factory supplied binary.

   C. Recommended solution
      Two temporary ftpd binaries (for HP-UX 11.00 and HP-UX 10.20)
      can be found at:

       ftp://ftp.cup.hp.com/dist/networking/ftp/ftpd.11.0
       ftp://ftp.cup.hp.com/dist/networking/ftp/ftpd.10.20

**Revised 01**
--->>>These are to be installed in /usr/lbin/ftpd, with permissions 544.

      NOTE: This advisory will be updated when patches become available.

   D. To subscribe to automatically receive future NEW HP Security
      Bulletins/Advisories 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

      Under the Maintenance and Support Menu (Electronic Support Center):
      click on the "more..." link.  Then -

      Use the 'Login' tab at the left side of the screen to login
      using your ID and password.  Check with your system
      administrator to see if you have an existing login or use
      the "Register" button at the left to create a login.  You
      will need to login in order to gain access to many areas of
      the ITRC. Remember to save the User ID assigned to you, and
      your password.

      Under the Maintenance and Support Menu, click on the "more..."
      link.  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".  Once in
      the archive the third link is to our current Security
      Patch Matrix. Updated daily, this matrix categorizes security
      patches by platform/OS release, and by bulletin topic.

      The security patch matrix is also available via anonymous ftp:

      us-ffs.external.hp.com
      ~ftp/export/patches/hp-ux_patch_matrix"

      On the "Support Information Digest Main" page:
      click on the "HP Security Bulletin Archive".

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

      Permission is granted for copying and circulating this Advisory to
      Hewlett-Packard (HP) customers (or the Internet community) for the
      purpose of alerting them to problems, if and only if, the Advisory
      is not edited or changed in any way, is attributed to HP, and
      provided such reproduction and/or distribution is performed for
      non-commercial purposes.

      Any other use of this information is prohibited. HP is not liable
      for any misuse of this information by any third party.
________________________________________________________________________