[NEWS] Remote Crash Vulnerability in Asterisk's STUN Implementation



The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



Remote Crash Vulnerability in Asterisk's STUN Implementation
------------------------------------------------------------------------


SUMMARY

The Asterisk STUN implementation in the RTP stack has a remotely
exploitable crash vulnerability. A pointer may run past accessible memory
if Asterisk receives a specially crafted STUN packet on an active RTP
port.

DETAILS

Vulnerable Systems:
* Asterisk Open Source versions prior to 1.4.8
* AsteriskNOW prerelease versions prior to Beta7
* Asterisk Appliance Developer Kit versions prior to 0.5.0
* s800i (Asterisk Appliance) versions prior to 1.0.2

Immune Systems:
* Asterisk Open Source version 1.4.8
* AsteriskNOW Beta7
* Asterisk Appliance Developer Kit version 0.5.0
* s800i (Asterisk Appliance) version 1.0.2

The code that parses the incoming STUN packets incorrectly checks that the
length indicated in the STUN attribute and the size of the STUN attribute
header does not exceed the available data. This will cause the data
pointer to run past accessible memory and when accessed will cause a
crash.

Resolution:
All users that have chan_sip, chan_gtalk, chan_jingle, chan_h323,
chan_mgcp, or chan_skinny enabled on an affected version should upgrade to
the appropriate version listed in the correct in section of this advisory.


ADDITIONAL INFORMATION

The information has been provided by <mailto:kpfleming@xxxxxxxxxx> Kevin
P. Fleming.
The original article can be found at:
<http://ftp.digium.com/pub/asa/ASA-2007-017.pdf>
http://ftp.digium.com/pub/asa/ASA-2007-017.pdf



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


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


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

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages

  • [UNIX] IAX2 Channel Driver Resource Exhaustion Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The IAX2 channel driver in Asterisk is vulnerable to a Denial of Service ...
    (Securiteam)
  • [UNIX] Asterisk Skinny Unauthenticated Heap Overflow
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Asterisk Skinny Unauthenticated Heap Overflow ... Asterisk is "The Opensource PBX", ... Asterisk version 1.2.12.1 and prior ...
    (Securiteam)
  • [NEWS] IAX2 Incomplete 3-Way Handshake (Spoofing)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... IAX2 Incomplete 3-Way Handshake ... Asterisk Business Edition A.x.x - all versions ... of the ACK response and that the ACK response could be spoofed, ...
    (Securiteam)
  • [UNIX] AsteriDex Code Execution (Asterisk and Trixbox)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... AsteriDex Code Execution (Asterisk and Trixbox) ... of arbitrary operating system commands as the 'asterisk' user. ... Originate' command which is used to ...
    (Securiteam)
  • [UNIX] Asterisk Manager Interface Buffer Overflow Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... " <http://www.asterisk.org/> Asterisk is a complete PBX in software. ... A Buffer Overflow with manager interface allow attackers to execute ... If the command string is specifically crafted, is it possible to use this ...
    (Securiteam)