Vulnerability Name:

CVE-2016-9937 (CCN-119607)

Assigned:2016-11-11
Published:2016-11-11
Updated:2017-07-27
Summary:An issue was discovered in Asterisk Open Source 13.12.x and 13.13.x before 13.13.1 and 14.x before 14.2.1. If an SDP offer or answer is received with the Opus codec and with the format parameters separated using a space the code responsible for parsing will recursively call itself until it crashes. This occurs as the code does not properly handle spaces separating the parameters. This does NOT require the endpoint to have Opus configured in Asterisk. This also does not require the endpoint to be authenticated. If guest is enabled for chan_sip or anonymous in chan_pjsip an SDP offer or answer is still processed and the crash occurs.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
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): None
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
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): None
Availibility (A): High
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-119
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2016-9937

Source: CONFIRM
Type: Patch, Vendor Advisory
http://downloads.asterisk.org/pub/security/AST-2016-008-13.diff

Source: CONFIRM
Type: Patch, Vendor Advisory
http://downloads.asterisk.org/pub/security/AST-2016-008-14.diff

Source: CCN
Type: Asterisk Project Security Advisory - AST-2016-008
Crash on SDP offer or answer from endpoint using Opus

Source: CONFIRM
Type: Patch, Vendor Advisory
http://downloads.asterisk.org/pub/security/AST-2016-008.html

Source: BID
Type: Third Party Advisory, VDB Entry
94792

Source: CCN
Type: BID-94792
Asterisk Open Source AST-2016-008 Denial of Service Vulnerability

Source: SECTRACK
Type: UNKNOWN
1037407

Source: XF
Type: UNKNOWN
asterisk-opus-dos(119607)

Source: CONFIRM
Type: Patch, Vendor Advisory
https://issues.asterisk.org/jira/browse/ASTERISK-26579

Vulnerable Configuration:Configuration 1:
  • cpe:/a:digium:asterisk:13.12:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:13.13:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:14.0:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:14.01:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:14.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:14.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:14.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:14.02:*:*:*:*:*:*:*
  • OR cpe:/a:digium:asterisk:14.2:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20169937000
    V
    CVE-2016-9937 on Ubuntu 12.04 LTS (precise) - medium.
    2016-12-12
    oval:com.ubuntu.trusty:def:20169937000
    V
    CVE-2016-9937 on Ubuntu 14.04 LTS (trusty) - medium.
    2016-12-12
    oval:com.ubuntu.xenial:def:20169937000
    V
    CVE-2016-9937 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-12-12
    oval:com.ubuntu.xenial:def:201699370000000
    V
    CVE-2016-9937 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-12-12
    BACK
    digium asterisk 13.12
    digium asterisk 13.13
    digium asterisk 14.0
    digium asterisk 14.01
    digium asterisk 14.1
    digium asterisk 14.1.1
    digium asterisk 14.1.2
    digium asterisk 14.02
    digium asterisk 14.2