Secunia Logo
Netsikker nu! 2008
 
Asterisk Multiple Vulnerabilities
Secunia Advisory: SA26099
Release Date: 2007-07-18
Popularity: 7,566 views

Critical:
Highly critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:Asterisk 1.x
Asterisk Appliance Developer Kit 0.x
Asterisk Business Edition 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-3762
CVE-2007-3763
CVE-2007-3764
CVE-2007-3765


Description:
Some vulnerabilities have been reported in Asterisk, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially compromise a vulnerable system.

1) A boundary error exists in the Asterisk STUN implementation, which can be exploited to cause the application to crash via specially crafted RTP packets.

Successful exploitation requires that the chan_sip, chan_gtalk, chan_jingle, chan_h323, chan_mgcp, or chan_skinny is enabled.

The vulnerability is reported in the following products:
Asterisk Open Source 1.4.x prior to version 1.4.8
AsteriskNOW pre-release prior to version beta7
Asterisk Appliance Developer Kit prior to version 0.5.0
s800i 1.0.x prior to version 1.0.2.

2) A boundary error exists in the Asterisk Skinny channel driver (chan_skinny), which can be exploited to cause the application to crash via packets that contain a size field smaller than the actual size of the packet.

Successful exploitation requires that chan_skinny is enabled.

3) A NULL-pointer dereference error exists in the Asterisk IAX2 channel driver (chan_iax2), which can be exploited to cause a DoS via specially crafted LGRQ and LAGRP frames.

Successful exploitation requires that chan_iax is enabled.

4) A boundary error exists in the Asterisk IAX2 channel driver (chan_iax2) within the handling of RTP frames. This can be exploited to cause a stack-based buffer overflow by sending large data payloads (more than 4096 bytes) in a voice or video frame.

Successful exploitation of this vulnerability allows execution of arbitrary code, but requires that the system is configured to connect channels that use RTP and IAX channels.

Vulnerabilities #2, #3, and #4 are reported in the following products:
Asterisk Open Source 1.0.x
Asterisk Open Source 1.2.x prior to version 1.2.22
Asterisk Open Source 1.4.x prior to version 1.4.8
AsteriskNOW pre-release prior to version beta7
Asterisk Business Edition A.x.x
Asterisk Business Edition B.x.x prior to version B.2.2.1
Asterisk Appliance Developer Kit prior to version 0.5.0
s800i 1.0.x prior to version 1.0.2.

Solution:
Asterisk Open Source 1.2.x:
Update to version 1.2.22.
ftp://ftp.digium.com/pub/telephony/asterisk

Asterisk Open Source 1.4.x:
Update to version 1.4.8.
ftp://ftp.digium.com/pub/telephony/asterisk

AsteriskNOW pre-release:
Update to version beta7.
http://www.asterisknow.org

Asterisk Business Edition B.x.x:
Update to version B.2.2.1.
http://www.digium.com

Asterisk Appliance Developer Kit:
Update to version 0.5.0.
ftp://ftp.digium.com/pub/telephony/aadk

s800i:
Update to version 1.0.2.

Provided and/or discovered by:
The vendor credits:
1) and 2) Will Drewry, Google Security Team
3) Chris Clark and Zane Lackey, iSEC Partners
4) Russel Bryant

Original Advisory:
1) http://ftp.digium.com/pub/asa/ASA-2007-017.pdf
2) http://ftp.digium.com/pub/asa/ASA-2007-016.pdf
3) http://ftp.digium.com/pub/asa/ASA-2007-015.pdf
4) http://ftp.digium.com/pub/asa/ASA-2007-014.pdf


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Zeroboard Multiple Vulnerabilities // 68 views
2. Zeroboard Two Vulnerabilities // 59 views
3. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 57 views
4. Serv-U File Renaming Directory Traversal and STOU Denial of Service // 48 views
5. Debian update for lighttpd // 47 views
6. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 45 views
7. VMware VirtualCenter Multiple Vulnerabilities // 43 views
8. Microsoft Windows Vista Page Fault Handling Denial of Service // 39 views
9. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 34 views
10. Nucleus EUC-JP Cross-Site Scripting Vulnerability // 27 views