home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / general / cert0080.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  7.0 KB  |  166 lines

  1.  
  2. -----BEGIN PGP SIGNED MESSAGE-----
  3.  
  4. =============================================================================
  5. CERT(sm) Advisory CA-94:08 
  6. Original issue date:  April 14, 1994
  7. Last revised: August 30, 1996 
  8.               Removed references to README files.
  9.  
  10.               A complete revision history is at the end of this file.
  11.  
  12. Topic: ftpd Vulnerabilities
  13. - -----------------------------------------------------------------------------
  14.  
  15. The CERT Coordination Center has received information concerning two
  16. vulnerabilities in some ftpd implementations.  The first is a
  17. vulnerability with the SITE EXEC command feature of the FTP daemon
  18. (ftpd) found in versions of ftpd that support the SITE EXEC feature.
  19. This vulnerability allows local or remote users to gain root access.
  20. The second vulnerability involves a race condition found in the ftpd
  21. implementations listed in Section I. below.  This vulnerability allows
  22. local users to gain root access.
  23.  
  24. Sites using these implementations are vulnerable even if they do not
  25. support anonymous FTP.
  26.  
  27. As these vulnerabilities are widely known, we strongly recommend that any
  28. site running a version of ftpd listed below take steps to immediately
  29. upgrade or disable their FTP daemon.  Also potentially at risk are
  30. sites whose ftpd is derived from the DECWRL or wuarchive ftpd code
  31. containing the SITE EXEC feature.
  32.  
  33. For additional information or assistance, contact the developer or
  34. vendor of your ftpd implementation.
  35.  
  36. We will update this advisory as we receive additional information.
  37. Please check advisory files regularly for updates that relate to your site.
  38.  
  39. - -----------------------------------------------------------------------------
  40.  
  41. I.   Description
  42.  
  43.      There is a vulnerability in the SITE EXEC command feature of
  44.      ftpd that allows any remote or local user to obtain root access.
  45.      There is also a vulnerability due to a race condition in these
  46.      implementations. 
  47.  
  48.      Versions known to be vulnerable to these problems are:
  49.           wuarchive ftpd versions 2.0-2.3 (version 2.2 patched the
  50.                SITE EXEC problem, but not the race condition)
  51.           DECWRL ftpd versions prior 5.93
  52.           BSDI ftpd version 1.1 prior to patch 5
  53.  
  54.      The SITE EXEC vulnerability affects your ftpd only if the SITE
  55.      EXEC command feature has been explicitly activated at your site.
  56.      This functionality is not activated by default.  Sites that have
  57.      not enabled the SITE EXEC feature are not at risk from this
  58.      vulnerability.  However, since the race condition does not have
  59.      an easily applied workaround, CERT recommends that you upgrade to
  60.      one of the versions listed below.
  61.  
  62. II.  Impact
  63.  
  64.      Anyone (remote or local) can gain root access on a host running a
  65.      vulnerable FTP daemon.  Support for anonymous FTP is not required
  66.      to exploit this vulnerability.
  67.  
  68.  
  69. III. Solution
  70.  
  71.      Affected sites can solve both of these problems by upgrading to
  72.      the latest version of ftpd. These versions are listed below. Be
  73.      certain to verify the checksum information to confirm that you
  74.      have retrieved a valid copy.
  75.  
  76.      If you cannot install the new version in a timely manner, you
  77.      should disable FTP service until you have corrected this problem.
  78.      It is not sufficient to disable anonymous FTP.  You must disable
  79.      the FTP daemon.
  80.  
  81.      For wuarchive ftpd, you can obtain version 2.4 via anonymous
  82.      FTP from wuarchive.wustl.edu, in the "/packages/wuarchive-ftpd"
  83.      directory.  If you are currently running version 2.3, a patch
  84.      file is available.
  85.  
  86.  
  87.                         BSD        SVR4         
  88.      File               Checksum   Checksum    MD5 Digital Signature
  89.      -----------------  --------   ---------   --------------------------------
  90.      wu-ftpd-2.4.tar.Z  38213  181  20337 362  cdcb237b71082fa23706429134d8c32e
  91.      patch_2.3-2.4.Z    09291    8  51092  16  5558a04d9da7cdb1113b158aff89be8f
  92.  
  93.      For DECWRL ftpd, sites can obtain version 5.93 via anonymous FTP
  94.      from gatekeeper.dec.com in the "/pub/misc/vixie" directory.
  95.  
  96.                         BSD        SVR4         
  97.      File               Checksum   Checksum    MD5 Digital Signature
  98.      -----------------  --------   --------- --------------------------------
  99.      ftpd.tar.gz        38443  60  1710 119  ae624eb607b4ee90e318b857e6573500
  100.  
  101.      For BSDI systems, patch 005 should be applied to version 1.1 of
  102.      the BSD/386 software.  You can obtain the patch file via
  103.      anonymous FTP from ftp.bsdi.com in the "/bsdi/patches-1.1"
  104.      directory.
  105.  
  106.                         BSD        SVR4         
  107.      File               Checksum   Checksum    MD5 Digital Signature
  108.      -----------------  --------   ---------   --------------------------------
  109.      BU110-005          35337 272  54935 543   1f454d4d9d3e1397d1eff0432bd383cf
  110.  
  111. - ---------------------------------------------------------------------------
  112. The CERT Coordination Center wishes to thank Neil Woods and Karl Strickland 
  113. for finding and reporting the wustl FTP daemon bug.  We also wish to thank 
  114. Bryan O'Connor and Chris Myers of Washington University in St. Louis,
  115. Paul Vixie of Vixie Enterprises, and Tony Sanders of BSDI for their 
  116. invaluable assistance in resolving this problem.
  117. - ---------------------------------------------------------------------------
  118.  
  119. If you believe that your system has been compromised, contact the CERT
  120. Coordination Center or your representative in the Forum of Incident
  121. Response and Security Teams (FIRST).
  122.  
  123. If you wish to send sensitive incident or vulnerability information to 
  124. CERT via electronic mail, CERT strongly advises that the e-mail be encrypted.
  125. CERT can support a shared DES key, PGP (public key available via
  126. anonymous FTP on info.cert.org), or PEM (contact CERT for details).
  127.  
  128. Internet E-mail: cert@cert.org
  129. Telephone: 412-268-7090 (24-hour hotline)
  130.            CERT personnel answer 8:30 a.m.-5:00 p.m. EST(GMT-5)/EDT(GMT-4),
  131.            and are on call for emergencies during other hours.
  132.  
  133. CERT Coordination Center
  134. Software Engineering Institute
  135. Carnegie Mellon University
  136. Pittsburgh, PA 15213-3890
  137.  
  138. Past advisories, information about FIRST representatives, and other
  139. information related to computer security are available via anonymous
  140. FTP from info.cert.org.
  141.  
  142. Copyright 1994, 1996 Carnegie Mellon University
  143. This material may be reproduced and distributed without permission provided
  144. it is used for noncommercial purposes and the copyright statement is
  145. included.
  146.  
  147. CERT is a service mark of Carnegie Mellon University.
  148.  
  149. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  150. Revision history
  151.  
  152. Aug. 30, 1996   Removed references to README files because advisories
  153.                 themselves are now updated.
  154.  
  155.  
  156. -----BEGIN PGP SIGNATURE-----
  157. Version: 2.6.2
  158.  
  159. iQCVAwUBMiSVF3VP+x0t4w7BAQEGBwQA0sdzRoD/BiQswWHbBSVNS+4frJCV/gqh
  160. HdYIXEc2daaTpDhgBks76nBNwhsT9vh6nk2cblcSu0yLOM+9nyDjk2IF3+QT4346
  161. T3quUaEk1gyXxrNjt/m9yyuS7X/BGksoklFpa8DwJkZNIQmRe5qif4erCBjYin+I
  162. mqEPWTUWUA4=
  163. =Xul6
  164. -----END PGP SIGNATURE-----
  165.  
  166.