Asterisk Dial() weak security

asterisk-dial-weak-security (56397) The risk level is classified as MediumMedium Risk

Description:

Asterisk could provide weaker than expected security, caused by an error when the ${EXTEN} channel variable in a dialplan is used with wildcard patterns. A remote attacker could exploit this vulnerability using a specially-crafted SIP INVITE message to create an additional outgoing channel leg that was not originally intentioned by the dialplan programmer.

*CVSS:

Base Score: 5
  Access Vector: Network
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: None
  Integrity Impact: Partial
  Availability Impact: None
 
Temporal Score: 3.7
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Bypass Security

Remedy:

Refer to AST-2010-002 for patch, upgrade or suggested workaround information. See References.

References:

  • AST-2010-002: Asterisk Dialplan injection vulnerability.
  • BID-38314: Asterisk Dialplan '${EXTEN}' Variable String Injection Vulnerability
  • CVE-2010-0685: The design of the dialplan functionality in Asterisk Open Source 1.2.x, 1.4.x, and 1.6.x; and Asterisk Business Edition B.x.x and C.x.x, when using the ${EXTEN} channel variable and wildcard pattern matches, allows context-dependent attackers to inject strings into the dialplan using metacharacters that are injected when the variable is expanded, as demonstrated using the Dial application to process a crafted SIP INVITE message that adds an unintended outgoing channel leg. NOTE: it could be argued that this is not a vulnerability in Asterisk, but a class of vulnerabilities that can occur in any program that uses this feature without the associated filtering functionality that is already available.
  • OSVDB ID: 62451: Asterisk Dialplan Wildcard Pattern Configuration Manipulation
  • SA38641: Asterisk Dialplan Wildcard Pattern Weakness
  • SECTRACK ID: 1023637: Asterisk Scripting Support Lets Remote Users Inject Data into Dialplans

Platforms Affected:

  • Digium Asterisk Business Edition B.1.3.2
  • Digium Asterisk Business Edition B.1.3.3
  • Digium Asterisk Business Edition B.2.2.0
  • Digium Asterisk Business Edition B.2.2.1
  • Digium Asterisk Business Edition B.2.3.1
  • Digium Asterisk Business Edition B.2.3.2
  • Digium Asterisk Business Edition B.2.3.3
  • Digium Asterisk Business Edition B.2.3.4
  • Digium Asterisk Business Edition B.2.3.5
  • Digium Asterisk Business Edition B.2.3.6
  • Digium Asterisk Business Edition B.2.5.0
  • Digium Asterisk Business Edition B.2.5.1
  • Digium Asterisk Business Edition B.2.5.2
  • Digium Asterisk Business Edition B.2.5.3
  • Digium Asterisk Business Edition B.2.5.4
  • Digium Asterisk Business Edition B.2.5.5
  • Digium Asterisk Business Edition B.2.5.6
  • Digium Asterisk Business Edition C.1.0 Beta7
  • Digium Asterisk Business Edition C.1.0 Beta8
  • Digium Asterisk Business Edition C.1.10.3
  • Digium Asterisk Business Edition C.1.6.0
  • Digium Asterisk Business Edition C.1.6.1
  • Digium Asterisk Business Edition C.1.6.2
  • Digium Asterisk Business Edition C.1.8
  • Digium Asterisk Business Edition C.1.8.0
  • Digium Asterisk Business Edition C.1.8.1
  • Digium Asterisk Business Edition C.2.3
  • Digium Asterisk Business Edition C.3
  • Digium Asterisk Open Source 1.2
  • Digium Asterisk Open Source 1.2.0
  • Digium Asterisk Open Source 1.2.0 rc1
  • Digium Asterisk Open Source 1.2.0 Beta1
  • Digium Asterisk Open Source 1.2.0 rc2
  • Digium Asterisk Open Source 1.2.0 Beta2
  • Digium Asterisk Open Source 1.2.1
  • Digium Asterisk Open Source 1.2.10
  • Digium Asterisk Open Source 1.2.10 Netsec
  • Digium Asterisk Open Source 1.2.11 Netsec
  • Digium Asterisk Open Source 1.2.11
  • Digium Asterisk Open Source 1.2.12
  • Digium Asterisk Open Source 1.2.12 Netsec
  • Digium Asterisk Open Source 1.2.12.1
  • Digium Asterisk Open Source 1.2.12.1 Netsec
  • Digium Asterisk Open Source 1.2.13
  • Digium Asterisk Open Source 1.2.13 Netsec
  • Digium Asterisk Open Source 1.2.14
  • Digium Asterisk Open Source 1.2.14 Netsec
  • Digium Asterisk Open Source 1.2.15
  • Digium Asterisk Open Source 1.2.15 Netsec
  • Digium Asterisk Open Source 1.2.16 Netsec
  • Digium Asterisk Open Source 1.2.16
  • Digium Asterisk Open Source 1.2.17 Netsec
  • Digium Asterisk Open Source 1.2.17
  • Digium Asterisk Open Source 1.2.18
  • Digium Asterisk Open Source 1.2.18 Netsec
  • Digium Asterisk Open Source 1.2.19 Netsec
  • Digium Asterisk Open Source 1.2.19
  • Digium Asterisk Open Source 1.2.2 Netsec
  • Digium Asterisk Open Source 1.2.2
  • Digium Asterisk Open Source 1.2.20 Netsec
  • Digium Asterisk Open Source 1.2.20
  • Digium Asterisk Open Source 1.2.21
  • Digium Asterisk Open Source 1.2.21 Netsec
  • Digium Asterisk Open Source 1.2.21.1 Netsec
  • Digium Asterisk Open Source 1.2.21.1
  • Digium Asterisk Open Source 1.2.22 Netsec
  • Digium Asterisk Open Source 1.2.22
  • Digium Asterisk Open Source 1.2.23 Netsec
  • Digium Asterisk Open Source 1.2.23
  • Digium Asterisk Open Source 1.2.24
  • Digium Asterisk Open Source 1.2.24 Netsec
  • Digium Asterisk Open Source 1.2.25 Netsec
  • Digium Asterisk Open Source 1.2.25
  • Digium Asterisk Open Source 1.2.26 Netsec
  • Digium Asterisk Open Source 1.2.26
  • Digium Asterisk Open Source 1.2.26.1 Netsec
  • Digium Asterisk Open Source 1.2.26.1
  • Digium Asterisk Open Source 1.2.26.2
  • Digium Asterisk Open Source 1.2.26.2 Netsec
  • Digium Asterisk Open Source 1.2.27
  • Digium Asterisk Open Source 1.2.28
  • Digium Asterisk Open Source 1.2.28.1
  • Digium Asterisk Open Source 1.2.29
  • Digium Asterisk Open Source 1.2.3
  • Digium Asterisk Open Source 1.2.3 Netsec
  • Digium Asterisk Open Source 1.2.30
  • Digium Asterisk Open Source 1.2.30.2
  • Digium Asterisk Open Source 1.2.30.3
  • Digium Asterisk Open Source 1.2.30.4
  • Digium Asterisk Open Source 1.2.31
  • Digium Asterisk Open Source 1.2.32
  • Digium Asterisk Open Source 1.2.33
  • Digium Asterisk Open Source 1.2.34
  • Digium Asterisk Open Source 1.2.4
  • Digium Asterisk Open Source 1.2.4 Netsec
  • Digium Asterisk Open Source 1.2.5
  • Digium Asterisk Open Source 1.2.5 Netsec
  • Digium Asterisk Open Source 1.2.6 Netsec
  • Digium Asterisk Open Source 1.2.6
  • Digium Asterisk Open Source 1.2.7
  • Digium Asterisk Open Source 1.2.7 Netsec
  • Digium Asterisk Open Source 1.2.7.1 Netsec
  • Digium Asterisk Open Source 1.2.7.1
  • Digium Asterisk Open Source 1.2.8 Netsec
  • Digium Asterisk Open Source 1.2.8
  • Digium Asterisk Open Source 1.2.9
  • Digium Asterisk Open Source 1.2.9.1
  • Digium Asterisk Open Source 1.2.9.1 Netsec
  • Digium Asterisk Open Source 1.4
  • Digium Asterisk Open Source 1.4 Beta
  • Digium Asterisk Open Source 1.4.0 Beta4
  • Digium Asterisk Open Source 1.4.0 Beta3
  • Digium Asterisk Open Source 1.4.0 Beta2
  • Digium Asterisk Open Source 1.4.0
  • Digium Asterisk Open Source 1.4.1
  • Digium Asterisk Open Source 1.4.10
  • Digium Asterisk Open Source 1.4.10.1
  • Digium Asterisk Open Source 1.4.11
  • Digium Asterisk Open Source 1.4.12
  • Digium Asterisk Open Source 1.4.12.1
  • Digium Asterisk Open Source 1.4.13
  • Digium Asterisk Open Source 1.4.14
  • Digium Asterisk Open Source 1.4.15
  • Digium Asterisk Open Source 1.4.16
  • Digium Asterisk Open Source 1.4.16.1
  • Digium Asterisk Open Source 1.4.16.2
  • Digium Asterisk Open Source 1.4.17
  • Digium Asterisk Open Source 1.4.18
  • Digium Asterisk Open Source 1.4.18.1
  • Digium Asterisk Open Source 1.4.19 rc1
  • Digium Asterisk Open Source 1.4.19 rc2
  • Digium Asterisk Open Source 1.4.19
  • Digium Asterisk Open Source 1.4.19 rc4
  • Digium Asterisk Open Source 1.4.19 RC-2
  • Digium Asterisk Open Source 1.4.19 rc3
  • Digium Asterisk Open Source 1.4.19.1
  • Digium Asterisk Open Source 1.4.19.2
  • Digium Asterisk Open Source 1.4.2
  • Digium Asterisk Open Source 1.4.20 rc1
  • Digium Asterisk Open Source 1.4.20 rc2
  • Digium Asterisk Open Source 1.4.20 rc3
  • Digium Asterisk Open Source 1.4.20
  • Digium Asterisk Open Source 1.4.21 rc2
  • Digium Asterisk Open Source 1.4.21 rc1
  • Digium Asterisk Open Source 1.4.21
  • Digium Asterisk Open Source 1.4.21.1
  • Digium Asterisk Open Source 1.4.21.2
  • Digium Asterisk Open Source 1.4.22 rc3
  • Digium Asterisk Open Source 1.4.22
  • Digium Asterisk Open Source 1.4.22 rc4
  • Digium Asterisk Open Source 1.4.22.1
  • Digium Asterisk Open Source 1.4.22.2
  • Digium Asterisk Open Source 1.4.23 rc3
  • Digium Asterisk Open Source 1.4.23
  • Digium Asterisk Open Source 1.4.23 rc1
  • Digium Asterisk Open Source 1.4.23 rc2
  • Digium Asterisk Open Source 1.4.23.1
  • Digium Asterisk Open Source 1.4.24
  • Digium Asterisk Open Source 1.4.25
  • Digium Asterisk Open Source 1.4.26
  • Digium Asterisk Open Source 1.4.26.1
  • Digium Asterisk Open Source 1.4.26.2
  • Digium Asterisk Open Source 1.4.3
  • Digium Asterisk Open Source 1.4.4
  • Digium Asterisk Open Source 1.4.4_2007-04-27
  • Digium Asterisk Open Source 1.4.5
  • Digium Asterisk Open Source 1.4.6
  • Digium Asterisk Open Source 1.4.7
  • Digium Asterisk Open Source 1.4.7.1
  • Digium Asterisk Open Source 1.4.8
  • Digium Asterisk Open Source 1.4.9
  • Digium Asterisk Open Source 1.4_revision_95946
  • Digium Asterisk Open Source 1.6
  • Digium Asterisk Open Source 1.6 beta6

Reported:

Feb 16, 2010

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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

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 Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.