Secunia Logo
Netsikker nu! 2008
 
Asterisk Multiple Vulnerabilities
Secunia Advisory: SA29426
Release Date: 2008-03-19
Last Update: 2008-03-20
Popularity: 4,287 views

Critical:
Highly critical
Impact: Security Bypass
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-2008-1289
CVE-2008-1332
CVE-2008-1333


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

1) An error within the "ast_rtp_unset_m_type()" function in main/rtp.c when handling of RTP codec payloads can be exploited to write a 0 into certain memory locations by sending a specially crafted SIP packet with SDP containing a payload number greater than 256.

2) A boundary error within the "process_sdp()" function in channels/chan_sip.c when handling of RTP codec payloads can be exploited to cause a stack-based buffer overflow by sending more than 32 RTP payloads.

3) An error within the SIP channel driver when determining if authentication is required can be exploited to perform unauthenticated calls by sending specially crafted From headers to the driver.

Note: A format string error within the "ast_verbose()" logging API call has also been reported by Steve Davies and Brandon Kruse. This can be exploited to crash the application by providing input containing format specifiers, which is later used in the affected API call. However, this only affects Asterisk 1.6.x versions prior to 1.6.0-beta6.

Solution:
Update to a fixed version.

Asterisk 1.2.x:
Update to version 1.2.27.

Asterisk 1.4.x:
Update to version 1.4.18.1.

Asterisk Business Edition:
Update to version B.2.5.1 and C.1.6.2.

s800i (Asterisk Appliance):
Update to version 1.1.0.2.

Asterisk Appliance Developer Kit:
Fixed in the SVN repository. Please see the vendor's advisories for details.

Provided and/or discovered by:
1, 2) Mu Security Research Team
3) Jason Parker

Changelog:
2008-03-20: Updated "Description" section with additional information provided by Mu Security Research. Added link to "Original Advisory" section.

Original Advisory:
Digium:
http://downloads.digium.com/pub/security/AST-2008-002.html
http://downloads.digium.com/pub/security/AST-2008-003.html
http://downloads.digium.com/pub/security/AST-2008-004.html

Mu Security:
http://labs.musecurity.com/advisories/MU-200803-01.txt


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. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 33 views
2. CA ARCserve Backup Multiple Vulnerabilities // 27 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 25 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 25 views
5. CUPS Multiple Vulnerabilities // 22 views
6. Red Hat update for cups // 21 views
7. Built2go Real Estate Listings "event_id" SQL Injection // 20 views
8. Gentoo Portage Insecure Python Module Search Path Security Issue // 20 views
9. FUJITSU Interstage Products Apache Tomcat Security Bypass // 19 views
10. Subdreamer Light Global Variables SQL Injection Vulnerability // 18 views