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

  1.  
  2. -----BEGIN PGP SIGNED MESSAGE-----
  3.  
  4. ===========================================================================
  5. CA-91:19                        CERT Advisory
  6.                               October 17, 1991
  7.                         AIX TFTP Daemon Vulnerability
  8.  
  9. - ---------------------------------------------------------------------------
  10.  
  11. The Computer Emergency Response Team/Coordination Center (CERT/CC) has
  12. received information concerning a vulnerability in the TFTP daemon in
  13. all versions of AIX for IBM RS/6000 machines.
  14.  
  15. IBM is aware of this problem and a fix is available as apar number "ix22628".
  16. This patch is available for all AIX releases from "GOLD" to the current
  17. release.
  18.  
  19. NOTE: THIS IS AN UPDATED PATCH FROM ONE RECENTLY MADE AVAILABLE and fixes
  20. a security hole in the original patch.  The SCCS id of the correct patch
  21. is tftpd.c 1.13.1.3 (*not* 1.13.1.2 or earlier versions).  This can be 
  22. checked using the following "what" command.
  23.  
  24.     % what /etc/tftpd
  25.     /etc/tftpd:
  26.        56      1.13.1.3  tftpd.c, tcpip, tcpip312 10/10/91 09:01:48
  27.        tftpsubs.c      1.2  com/sockcmd/tftpd,3.1.2,9048312 10/8/89 17:40:55
  28.  
  29. IBM customers may call IBM Support (800-237-5511) and ask that the fix
  30. be shipped to them.  The fix will appear in the upcoming 2009 update
  31. and the next release of AIX.
  32.  
  33. - ---------------------------------------------------------------------------
  34.  
  35. I.   Description
  36.  
  37.      Previous versions of tftpd did not provide a method for restricting 
  38.      TFTP access.
  39.  
  40. II.  Impact
  41.  
  42.      If TFTP is enabled at your site, anyone on the Internet can retrieve
  43.      copies of your site's world-readable files, such as /etc/passwd.
  44.  
  45. III. Solution
  46.         
  47.      A. Sites that do not need to allow tftp access should disable it.
  48.     This can be done by editing /etc/inetd.conf and deleting or
  49.     commenting out the tftpd line:
  50.  
  51.     #tftp     dgram     udp    wait    nobody  /etc/tftpd     tftpd -n
  52.  
  53.     and then, as root, restarting inetd with the "refresh" command.
  54.  
  55.         # refresh -s inetd
  56.  
  57.     For more details on starting/stopping tftp, refer to documentation
  58.     for the System Resource Controller (SRC) or the System Management
  59.     Interface Tool (SMIT).
  60.  
  61.      B. Sites that must run tftpd (for example, to support X terminals)
  62.     should obtain and install the above patch AND create a
  63.     /etc/tftpaccess.ctl file to restrict the files that are accessible.
  64.         The /etc/tftpaccess.ctl file should be writable only by root.
  65.     Although the new /etc/tftpaccess.ctl mechanism provides a very general
  66.     capability, the CERT/CC strongly recommends that sites keep this
  67.     control file simple.  For example, the following tftpaccess.ctl file
  68.     is all that is necessary to support IBM X terminals:
  69.  
  70.     # /etc/tftpaccess.ctl
  71.     # By default, all files are restricted if /etc/tftpaccess.ctl exists.
  72.     # Allow access to X terminal files.
  73.     allow:/usr/lpp/x_st_mgr/bin
  74.  
  75.     NOTE: Be CERTAIN to create the /etc/tftpaccess.ctl file.
  76.     If it does not exist then all world-readable files are accessible
  77.     as in the current version of tftpd.
  78.  
  79.         Installation Instructions:
  80.  
  81.         1.  Create an appropriate /etc/tftpaccess.ctl file.
  82.  
  83.         2.  From the directory containing the new tftpd module, issue
  84.             the following commands as root.
  85.         
  86.             # chmod 644 /etc/tftpaccess.ctl
  87.             # chown root.system /etc/tftpaccess.ctl
  88.         # mv /etc/tftpd /etc/tftpd.old
  89.         # cp tftpd /etc
  90.         # chmod 755 /etc/tftpd
  91.         # chown root.system /etc/tftpd
  92.         # refresh -s inetd
  93.  
  94. - ---------------------------------------------------------------------------
  95. The CERT/CC wishes to thank Karl Swartz of the Stanford Linear Accelerator
  96. Center for bringing this vulnerability to our attention.
  97. - ---------------------------------------------------------------------------
  98.  
  99. If you believe that your system has been compromised, contact CERT/CC via
  100. telephone or e-mail.
  101.  
  102. Computer Emergency Response Team/Coordination Center (CERT/CC)
  103. Software Engineering Institute
  104. Carnegie Mellon University
  105. Pittsburgh, PA 15213-3890
  106.  
  107. Internet E-mail: cert@cert.org
  108. Telephone: 412-268-7090 24-hour hotline:
  109.            CERT/CC personnel answer 7:30a.m.-6:00p.m. EST/EDT,
  110.            on call for emergencies during other hours.
  111.  
  112. Past advisories and other computer security related information are available
  113. for anonymous ftp from the cert.org (192.88.209.5) system.
  114.  
  115.  
  116. -----BEGIN PGP SIGNATURE-----
  117. Version: 2.6.2
  118.  
  119. iQCVAwUBMaMwznVP+x0t4w7BAQERFgP/bGMGTnf/Kkcd80VfEyzDm1LpJcskHDin
  120. W+OqqbUrX/SZ1CNpjh/Yp395fZy4jAZKzVzYxIKhML0XHdAGYWsSBKQmZUhW6fkB
  121. sXKlbi2P0jFqVzfMuIuzuT+3p+6REm432PNOpJVndrd361SdgS6qtlmLjmwt0dCU
  122. e5JKsJUtjcU=
  123. =yuEL
  124. -----END PGP SIGNATURE-----
  125.  
  126.