Asterisk get_input() function buffer overflow

asterisk-getinput-bo (29663) The risk level is classified as HighHigh Risk

Description:

Asterisk is vulnerable to a buffer overflow, caused by improper bounds checking by the get_input() chan_skinny.c function. By sending malformed data to TCP port 2000, a remote attacker could overflow a buffer and execute arbitrary code on the system with root privileges.

*CVSS:

Base Score: 10
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 7.4
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Asterisk (version 1.0.12 or 1.2.13 or later), available from the Asterisk Web site. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200610-15 for patch, upgrade, or suggested workaround information. See References.

For Debian GNU/Linux:
Refer to DSA-1229-1 for patch, upgrade, or suggested workaround information. See References.

References:

  • Asterisk Web site: Asterisk | The Open Source PBX.
  • BugTraq Mailing List, Wed Oct 18 2006 - 16:56:02 CDT : Security-Assessment.com Advisory: Asterisk remote heap overflow.
  • BID-20617: Asterisk Chan_Skinny Remote Buffer Overflow Vulnerability
  • CVE-2006-5444: Integer overflow in the get_input function in the Skinny channel driver (chan_skinny.c) in Asterisk 1.0.x before 1.0.12 and 1.2.x before 1.2.13, as used by Cisco SCCP phones, allows remote attackers to execute arbitrary code via a certain dlen value that passes a signed integer comparison and leads to a heap-based buffer overflow.
  • DSA-1229: asterisk -- integer overflow
  • GLSA-200610-15: Asterisk: Multiple vulnerabilities
  • OpenPKG-SA-2006.024: Asterisk
  • OSVDB ID: 29972: Asterisk Skinny Channel Driver (chan_skinny) get_input Function Remote Overflow
  • SA22480: Asterisk SCCP Integer Overflow and SIP Denial of Service Vulnerabilities
  • SECTRACK ID: 1017089: Asterisk Integer Overflow in Skinny Channel Driver Lets Remote Users Execute Arbitrary Code
  • SUSE-SA:2006:069: asterisk remote denial of service problem
  • US-CERT VU#521252: Integer overflow vulnerability in Asterisk driver for Cisco SCCP-enabled phones
  • VUPEN/ADV-2006-4097: Asterisk Skinny Channel Driver Data Handling Remote Code Execution Vulnerability

Platforms Affected:

  • Debian Debian Linux 3.1
  • Digium Asterisk Open Source 1.0.12
  • Digium Asterisk Open Source 1.2.12.1
  • Gentoo Linux
  • SUSE SuSE Linux 10.1
  • SuSE SuSE SLED 10

Reported:

Oct 18, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.