copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2012.0503 - Asterisk: Denial of service - Remote with user interaction

Date: 30 May 2012
References: ESB-2012.0548  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2012.0503
       A number of vulnerabilities have been identified in Asterisk
                                30 May 2012

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Certified Asterisk
                   Asterisk Open Source
Publisher:         Digium
Operating System:  UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Denial of Service -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-2948 CVE-2012-2947 

Original Bulletin: 
   http://downloads.asterisk.org/pub/security/AST-2012-007.html
   http://downloads.asterisk.org/pub/security/AST-2012-008.html

Comment: This bulletin contains two (2) Digium security advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

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  2012 Digium, Inc. All Rights Reserved.
Permission is hereby granted to distribute and publish this advisory in its 
original, unaltered form.

- ------------------------------------------------------------------------------

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  2012 Digium, Inc. All Rights Reserved.
Permission is hereby granted to distribute and publish this advisory in its 
original, unaltered form.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIUAwUBT8WMHe4yVqjM2NGpAQIFfw/4w1ShV8ZO2JkdUMDHP9B8vnrAKzMuFl7E
3x3KmKNN0ae63/VySEl/jCqtJkrCZlxTIOF9skcqoxxcQQp/gN18r1tGulVCTgqa
hCg20Qfgh8zlJF6Wt1gPhgeBdr/AA0dyu6LcOq4ivfF1NSX/a19coHSw7r8s1WJj
+XZ3I4a1jVoFSEPHhZeuD7tEDRll9YmlTJr5/xwXz0zI9zdADWUrrOBm4Z1i3laK
3IM7r6HpCTDLtDYfI7t/e61o9jkbdhqiwnftRl8/pAyhm+Y96YtMue60f06hBAOQ
y4veuFyPgR2LIl2DlJ9Z96MQ9D4ZvXn00o3jLLg0DIqevnuaQpktkenfLabGR/5g
XcqqVOgXEBRuyHAjh60KVOZ3RYhQJg5ct0iGpfA/zbVJqi7CAecIqgqxxzSmhVEy
Zyu/alYZpDp3/RPUhvRQ2OAQItnUty3Xd+LJFLOkMGDPmjybUzW+NSDhipQ/ErCl
DSc+Fg6TJYvF4bsU7LjUv9z/waJno42+RwhTVQDykr2QDHPV7Is0foLGugR0mgDk
I8u7JHd7moNvLztZlRBxCeYQl9kMeGSXhsV3QNcV9rdB34cdYtdT9LEmRxT2SeWt
OvqLY1lzNWNv4PkVUNHWwzJKlB0JBfwUXGjOeYM8p/QJx7NU+erEuKtTpQGoN6jo
oSKIfqujPQ==
=BdrK
-----END PGP SIGNATURE-----