Vulnerability Name:

CVE-2010-0685 (CCN-56397)

Assigned:2010-02-16
Published:2010-02-16
Updated:2018-10-10
Summary: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.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
3.7 Low (Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-Other
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2010-0685

Source: CCN
Type: AST-2010-002
Asterisk Dialplan injection vulnerability

Source: CONFIRM
Type: Exploit, Vendor Advisory
http://downloads.digium.com/pub/security/AST-2010-002.html

Source: FEDORA
Type: UNKNOWN
FEDORA-2010-3724

Source: CCN
Type: SA38641
Asterisk Dialplan Wildcard Pattern Weakness

Source: SECUNIA
Type: Vendor Advisory
38641

Source: SECUNIA
Type: UNKNOWN
39096

Source: CCN
Type: SECTRACK ID: 1023637
Asterisk Scripting Support Lets Remote Users Inject Data into Dialplans

Source: MISC
Type: UNKNOWN
http://svn.asterisk.org/svn/asterisk/branches/1.2/README-SERIOUSLY.bestpractices.txt

Source: CCN
Type: OSVDB ID: 62451
Asterisk Dialplan Wildcard Pattern Configuration Manipulation

Source: BUGTRAQ
Type: UNKNOWN
20100218 AST-2010-002: Dialplan injection vulnerability

Source: CCN
Type: BID-38314
Asterisk Dialplan '${EXTEN}' Variable String Injection Vulnerability

Source: SECTRACK
Type: UNKNOWN
1023637

Source: VUPEN
Type: Vendor Advisory
ADV-2010-0439

Source: XF
Type: UNKNOWN
asterisk-dial-weak-security(56397)

Source: XF
Type: UNKNOWN
asterisk-dial-weak-security(56397)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:digium:asterisk:1.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.0:beta1:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.0:beta2:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.2:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.3:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.6:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.7:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.8:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.9:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.10:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.10:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.11:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.11:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.12:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.12:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.12.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.12.1:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.13:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.13:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.14:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.15:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.15:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.16:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.16:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.17:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.17:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.18:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.18:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.19:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.19:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.20:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.20:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.21:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.21:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.21.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.21.1:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.22:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.22:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.23:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.23:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.24:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.24:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.25:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.25:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.26:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.26:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.26.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.26.1:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.26.2:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.26.2:netsec:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.27:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.28:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.28.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.29:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.30:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.30.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.30.2:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.30.3:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.30.4:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.31:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.31.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.32:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.33:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.34:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.35:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.2.36:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.2:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.3:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.4:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.5:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.6:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.7:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.8:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.9:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.10:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.11:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.12:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.13:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.14:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.15:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.16:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.17:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.18:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.19:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.20:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.21:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.22:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.23:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.24:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.25:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.26:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.4.27:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.6.0:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.6.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.6.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:1.6.2.0:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:digium:asterisk:b.1.3.2:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.1.3.3:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.2.0:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.2.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.2:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.3:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.4:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.5:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.6:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.5.0:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.5.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.5.2:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.5.3:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.0:beta7:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.0:beta8:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.6:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.6.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.6.2:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.8.0:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.8.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.2.3:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.3.0:-:business:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:digium:asterisk:b.2.5.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.8.0:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk_open_source:1.4.21:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk_open_source:1.4.21:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.1.3.2:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.1.3.3:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.2.0:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.2.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.2:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.3:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.4:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.5.0:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.6.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.8.0:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.5.3:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.5:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:b.2.3.6:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.8.1:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.6.2:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.2.3:-:business:*:*:*:*:*
  • OR cpe:/a:digium:asterisk_open_source:1.4.21:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:c.3.0:-:business:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    digium asterisk 1.2.0
    digium asterisk 1.2.0 beta1
    digium asterisk 1.2.0 beta2
    digium asterisk 1.2.0 rc1
    digium asterisk 1.2.0 rc2
    digium asterisk 1.2.1
    digium asterisk 1.2.2
    digium asterisk 1.2.2 netsec
    digium asterisk 1.2.3
    digium asterisk 1.2.3 netsec
    digium asterisk 1.2.6
    digium asterisk 1.2.7
    digium asterisk 1.2.8
    digium asterisk 1.2.9
    digium asterisk 1.2.10
    digium asterisk 1.2.10 netsec
    digium asterisk 1.2.11
    digium asterisk 1.2.11 netsec
    digium asterisk 1.2.12
    digium asterisk 1.2.12 netsec
    digium asterisk 1.2.12.1
    digium asterisk 1.2.12.1 netsec
    digium asterisk 1.2.13
    digium asterisk 1.2.13 netsec
    digium asterisk 1.2.14
    digium asterisk 1.2.15
    digium asterisk 1.2.15 netsec
    digium asterisk 1.2.16
    digium asterisk 1.2.16 netsec
    digium asterisk 1.2.17
    digium asterisk 1.2.17 netsec
    digium asterisk 1.2.18
    digium asterisk 1.2.18 netsec
    digium asterisk 1.2.19
    digium asterisk 1.2.19 netsec
    digium asterisk 1.2.20
    digium asterisk 1.2.20 netsec
    digium asterisk 1.2.21
    digium asterisk 1.2.21 netsec
    digium asterisk 1.2.21.1
    digium asterisk 1.2.21.1 netsec
    digium asterisk 1.2.22
    digium asterisk 1.2.22 netsec
    digium asterisk 1.2.23
    digium asterisk 1.2.23 netsec
    digium asterisk 1.2.24
    digium asterisk 1.2.24 netsec
    digium asterisk 1.2.25
    digium asterisk 1.2.25 netsec
    digium asterisk 1.2.26
    digium asterisk 1.2.26 netsec
    digium asterisk 1.2.26.1
    digium asterisk 1.2.26.1 netsec
    digium asterisk 1.2.26.2
    digium asterisk 1.2.26.2 netsec
    digium asterisk 1.2.27
    digium asterisk 1.2.28
    digium asterisk 1.2.28.1
    digium asterisk 1.2.29
    digium asterisk 1.2.30
    digium asterisk 1.2.30.1
    digium asterisk 1.2.30.2
    digium asterisk 1.2.30.3
    digium asterisk 1.2.30.4
    digium asterisk 1.2.31
    digium asterisk 1.2.31.1
    digium asterisk 1.2.32
    digium asterisk 1.2.33
    digium asterisk 1.2.34
    digium asterisk 1.2.35
    digium asterisk 1.2.36
    digium asterisk 1.4.0
    digium asterisk 1.4.1
    digium asterisk 1.4.2
    digium asterisk 1.4.3
    digium asterisk 1.4.4
    digium asterisk 1.4.5
    digium asterisk 1.4.6
    digium asterisk 1.4.7
    digium asterisk 1.4.8
    digium asterisk 1.4.9
    digium asterisk 1.4.10
    digium asterisk 1.4.11
    digium asterisk 1.4.12
    digium asterisk 1.4.13
    digium asterisk 1.4.14
    digium asterisk 1.4.15
    digium asterisk 1.4.16
    digium asterisk 1.4.17
    digium asterisk 1.4.18
    digium asterisk 1.4.19
    digium asterisk 1.4.20
    digium asterisk 1.4.21
    digium asterisk 1.4.22
    digium asterisk 1.4.23
    digium asterisk 1.4.24
    digium asterisk 1.4.25
    digium asterisk 1.4.26
    digium asterisk 1.4.27
    digium asterisk 1.6.0
    digium asterisk 1.6.1
    digium asterisk 1.6.1.0
    digium asterisk 1.6.2.0
    digium asterisk b.1.3.2 -
    digium asterisk b.1.3.3 -
    digium asterisk b.2.2.0 -
    digium asterisk b.2.2.1 -
    digium asterisk b.2.3.1 -
    digium asterisk b.2.3.2 -
    digium asterisk b.2.3.3 -
    digium asterisk b.2.3.4 -
    digium asterisk b.2.3.5 -
    digium asterisk b.2.3.6 -
    digium asterisk b.2.5.0 -
    digium asterisk b.2.5.1 -
    digium asterisk b.2.5.2 -
    digium asterisk b.2.5.3 -
    digium asterisk c.1.0 beta7
    digium asterisk c.1.0 beta8
    digium asterisk c.1.6 -
    digium asterisk c.1.6.1 -
    digium asterisk c.1.6.2 -
    digium asterisk c.1.8.0 -
    digium asterisk c.1.8.1 -
    digium asterisk c.2.3 -
    digium asterisk c.3.0 -
    digium asterisk b.2.5.1 -
    digium asterisk c.1.8.0 -
    digium asterisk open source 1.4.21
    digium asterisk open source 1.4.21
    digium asterisk b.1.3.2 -
    digium asterisk b.1.3.3 -
    digium asterisk b.2.2.0 -
    digium asterisk b.2.2.1 -
    digium asterisk b.2.3.1 -
    digium asterisk b.2.3.2 -
    digium asterisk b.2.3.3 -
    digium asterisk b.2.3.4 -
    digium asterisk b.2.5.0 -
    digium asterisk c.1.6.1 -
    digium asterisk c.1.8.0 -
    digium asterisk b.2.5.3 -
    digium asterisk b.2.3.5 -
    digium asterisk b.2.3.6 -
    digium asterisk c.1.8.1 -
    digium asterisk c.1.6.2 -
    digium asterisk c.2.3 -
    digium asterisk open source 1.4.21
    digium asterisk c.3.0 -