* You are viewing the archive for May 29th, 2012

Skinny Channel Driver Remote Crash Vulnerability

Asterisk Project Security Advisory – AST-2012-008

Product Asterisk
Summary Skinny Channel Driver Remote Crash Vulnerability
Nature of Advisory Denial of Service
Susceptibility Remote authenticated sessions
Severity Minor
Exploits Known No
Reported On May 22, 2012
Reported By Christoph Hebeisen
Posted On May 29, 2012
Last Updated On May 29, 2012
Advisory Contact Matt Jordan < mjordan AT digium DOT com >
CVE Name CVE-2012-2948

Description As reported by Telus Labs:

“A Null-pointer dereference has been identified in the SCCP
(Skinny) channel driver of Asterisk. When an SCCP client
closes its connection to the server, a pointer in a
structure is set to Null. If the client was not in the
on-hook state at the time the connection was closed, this
pointer is later dereferenced.

A remote attacker with a valid SCCP ID can can use this
vulnerability by closing a connection to the Asterisk
server in certain call states (e.g. “Off hook”) to crash
the server. Successful exploitation of this vulnerability
would result in termination of the server, causing denial
of service to legitimate users.”

Resolution The pointer to the device in the structure is now checked
before it is dereferenced in the channel event callbacks and
message handling functions.

Affected Versions
Product Release Series
Asterisk Open Source 1.8.x All Versions
Asterisk Open Source 10.x All Versions
Certified Asterisk 1.8.11-cert 1.8.11-cert1

Corrected In
Product Release
Asterisk Open Source 1.8.12.1, 10.4.1
Certified Asterisk 1.8.11-cert2

Patches
SVN URL Revision
http://downloads.asterisk.org/pub/security/AST-2012-008-1.8.diff v1.8
http://downloads.asterisk.org/pub/security/AST-2012-008-10.diff v10
http://downloads.asterisk.org/pub/security/AST-2012-008-1.8.11-cert.diff v1.8.11-cert

Links https://issues.asterisk.org/jira/browse/ASTERISK-19905

Asterisk Project Security Advisories are posted at
http://www.asterisk.org/security

This document may be superseded by later versions; if so, the latest
version will be posted at
http://downloads.digium.com/pub/security/AST-2012-008.pdf and
http://downloads.digium.com/pub/security/AST-2012-008.html

Revision History
Date Editor Revisions Made
05/25/2012 Matt Jordan Initial Release

Asterisk Project Security Advisory – AST-2012-008
Copyright (c) 2012 Digium, Inc. All Rights Reserved.
Permission is hereby granted to distribute and publish this advisory in its
original, unaltered form.

Remote crash vulnerability in IAX2 channel driver.

Asterisk Project Security Advisory – AST-2012-007

Product Asterisk
Summary Remote crash vulnerability in IAX2 channel driver.
Nature of Advisory Remote crash
Susceptibility Established calls
Severity Moderate
Exploits Known No
Reported On March 21, 2012
Reported By mgrobecker
Posted On May 29, 2012
Last Updated On May 29, 2012
Advisory Contact Richard Mudgett < rmudgett AT digium DOT com >
CVE Name CVE-2012-2947

Description A remotely exploitable crash vulnerability exists in the
IAX2 channel driver if an established call is placed on
hold without a suggested music class. For this to occur,
the following must take place:

1. The setting mohinterpret=passthrough must be set on the
end placing the call on hold.

2. A call must be established.

3. The call is placed on hold without a suggested
music-on-hold class name.

When these conditions are true, Asterisk will attempt to
use an invalid pointer to a music-on-hold class name. Use
of the invalid pointer will either cause a crash or the
music-on-hold class name will be garbage.

Resolution Asterisk now sets the extra data parameter to null if the
received control frame does not have any extra data.

Affected Versions
Product Release Series
Certified Asterisk 1.8.11-cert All versions
Asterisk Open Source 1.8.x All versions
Asterisk Open Source 10.x All versions

Corrected In
Product Release
Certified Asterisk 1.8.11-cert2
Asterisk Open Source 1.8.12.1, 10.4.1

Patches
SVN URL Revision
http://downloads.asterisk.org/pub/security/AST-2012-007-1.8.11-cert.diff v1.8.11-cert
http://downloads.asterisk.org/pub/security/AST-2012-007-1.8.diff v1.8
http://downloads.asterisk.org/pub/security/AST-2012-007-10.diff v10

Links https://issues.asterisk.org/jira/browse/ASTERISK-19597

Asterisk Project Security Advisories are posted at
http://www.asterisk.org/security

This document may be superseded by later versions; if so, the latest
version will be posted at
http://downloads.digium.com/pub/security/AST-2012-007.pdf and
http://downloads.digium.com/pub/security/AST-2012-007.html

Revision History
Date Editor Revisions Made
05/29/2012 Richard Mudgett Initial release.

Asterisk Project Security Advisory – AST-2012-007
Copyright (c) 2012 Digium, Inc. All Rights Reserved.
Permission is hereby granted to distribute and publish this advisory in its
original, unaltered form.

unable to create channel of type ‘SIP’

I’m trying to use OpenBTS with Asterisk.
I have two phones that are connecting to OpenBTS correctly, but on the
Asterisk side the phones can’t call each other.

I followed this guide:
http://gnuradio.org/redmine/projects/gnuradio/wiki/OpenBTSSettingUpAsterisk
I set up two phones in sip.conf and extensions.conf.

In my SIP output I see this:
WARNING[1689]: app_dial.c:2041 dial_exec_full: unable to create
channel of type ‘SIP’ (cause 20 – unknown)

If I type sip show registry it says there are 0 SIP registrations.
Should I see both the phones registered at this point?
If that’s what’s wrong, what am I doing wrong that’s making the phones
not able to register?

Below is my Asterisk configuration.

Jacob

#/etc/asterisk/sip.conf
[general]
context=sip-external

#…

[IMSI262428511722625]
callerid=2012
canreinvite=no
type=friend
context=sip-external
allow=gsm
host=dynamic
dtmfmode=info

[IMSI262422146099205]
callerid=2013
canreinvite=no
type=friend
context=sip-external
allow=gsm
host=dynamic
dtmfmode=info

#/etc/asterisk/extensions.conf
[macro-dialGSM]
exten => s,1,Dial(SIP/${ARG1})
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-CANCEL,1,Hangup
exten => s-NOANSWER,1,Hangup
exten => s-BUSY,1,Busy(30)
exten => s-CONGESTION,1,Congestion(30)
exten => s-CHANUNAVAIL,1,playback(ss-noservice)
exten => s-CANCEL,1,Hangup

[sip-external]
exten => 2012,1,Macro(dialSIP,IMSI262428511722625)
exten => 2013,1,Macro(dialSIP,IMSI262422146099205)

Certified Asterisk 1.8.11-cert2; Asterisk 1.8.12.1, 10.4.1 Now Available (Security Release)

The Asterisk Development Team has announced security releases for Certified
Asterisk 1.8.11 and Asterisk 1.8 and 10. The available security releases are
released as versions 1.8.11-cert2, 1.8.12.1, and 10.4.1.

These releases are available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/releases

The release of Asterisk 1.8.11-cert2, 1.8.12.1, and 10.4.1 resolve the following
two issues:

* A remotely exploitable crash vulnerability exists in the IAX2 channel
driver if an established call is placed on hold without a suggested music
class. Asterisk will attempt to use an invalid pointer to the music
on hold class name, potentially causing a crash.

* A remotely exploitable crash vulnerability was found in the Skinny (SCCP)
Channel driver. When an SCCP client closes its connection to the server,
a pointer in a structure is set to NULL. If the client was not in the
on-hook state at the time the connection was closed, this pointer is later
dereferenced. This allows remote authenticated connections the ability to
cause a crash in the server, denying services to legitimate users.

These issues and their resolution are described in the security advisories.

For more information about the details of these vulnerabilities, please read
security advisories AST-2012-007 and AST-2012-008, which were released at the
same time as this announcement.

For a full list of changes in the current releases, please see the ChangeLogs:

http://downloads.asterisk.org/pub/telephony/certified-asterisk/releases/ChangeLog-1.8.11-cert2
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.12.1
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-10.4.1

The security advisories are available at:

* http://downloads.asterisk.org/pub/security/AST-2012-007.pdf
* http://downloads.asterisk.org/pub/security/AST-2012-008.pdf

Thank you for your continued support of Asterisk!

(no subject)

http://78.47.93.180/bestoffer.html

axfer with simple CDR

hi,

i read a lot about CDR problems
this document is the best description of CDRs problem in Asterisk
http://svn.digium.com/svn/asterisk/team/murf/RFCs/CDRfix2.rfc.docx i found

but
i cant still answer my question

is it possible with simple CDR fully describe axfer? (axfer is asterisk
native, not phone function)

scenario
A – customer
B – secretary
C – consultant1
D – consultant2

A -> B
B axfer C
C axfer D

i need to know
time B with C (consultation)
time A with C
time C with D (consultation)
time A with D
time A with everyone (full time – from start to the end of call)

(what about ring time?)

is it possible? if yes, can you post some example?