Security Vulnerability with ftp on HP-UX

Security Vulnerability with ftp on HP-UX

Post by Security Ale » Fri, 24 Jul 1998 04:00:00

Please direct any follow-ups to comp.sys.hp.hpux.

        HEWLETT-PACKARD SECURITY BULLETIN: #00079  23 July 1998

The information in the following Security Bulletin should be acted upon
as soon as possible.  Hewlett-Packard 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: ftp client interprets server provided filenames which can
         cause commands to be run on the client.

PLATFORM: HP9000 series 700/800, HP-UX releases 9.X, 10.X, and 11.00

DAMAGE:   Local users can increase their privileges

SOLUTION: Install the patches listed below.

AVAILABILITY: All patches are available now, except as noted.

   A. Background

   The ftp client can be tricked into running arbitrary commands
   supplied by the remote server.  

   B. Fixing the problem

   Install the applicable patches for the fileset: ARPA-RUN ARPA-MAN
         HP-UX release   9.X                 PHNE_13595

   Install the applicable patches for the fileset:
   InternetSrvcs.INETSVCS-RUN or InternetSrvcs.INET-ENG-A-MAN.

         HP-UX release   10.0,10.01,10.10    PHNE_13596
         HP-UX release   10.16               PHNE_16006 *
         HP-UX release   10.20               PHNE_13597
         HP-UX release   10.24               PHNE_15802
         HP-UX release   11.00               PHNE_14479

   The CMW release (HP-UX 10.16) will be available after 10 August 98.

   Install the applicable patches for the fileset:
   InternetSvcSec.INETSVCS-SEC or InternetSvcSec.ISEC-ENG-A-MAN,
   (Secure Internet Services),
         HP-UX release   10.20               PHNE_15544

   C. Recommended solution - Install the applicable patches.
      NOTE: The Secure Internet Services product, if enabled, has to
            be disabled before the installation and removal of  
            patch PHNE_15544 for HP-UX 10.20.
            If Secure Internet Services is enabled during patch
            installation, the installation will fail with an error.
      NOTE: On the HP-UX 11.00 release patch only:
            This version of FTP has some new configuration files that
            can be used to take advantage of new functionality. Sample
            of the new configuration files are provided in
            These files can be altered per your needs and copied
            to the location /etc/ftpd.  Information on these new
            features introduced by this new version of ftpd are in
            the file:

   D. To subscribe to automatically receive future NEW HP Security
      Bulletins from the HP Electronic Support Center via electronic
      mail, do the following:

      User your browser to get to the HP Electronic Support Center page
               (for US, Canada, Asia-Pacific, & Latin-America)     (for Europe)

      Login with your user ID and password, or register for one
      (remember to save the User ID assigned to you, and your password).
      Once you are on the Main Menu, Click on the Technical Knowledge
      Database, and it will connect to a HP Search Technical Knowledge
      DB page.  Near the bottom is a link to our Security Bulletin
      archive.  Once in the archive there is another link to our current
      security patch matrix.  Updated daily, this matrix is categorized
      by platform/OS release, and by bulletin topic.

    F. 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 Bulletin to
      Hewlett-Packard (HP) customers (or the Internet community) for the
      purpose of alerting them to problems, if and only if, the Bulletin
      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.