Vulnerability Name:

CVE-2018-7285 (CCN-139403)

Assigned:2018-02-21
Published:2018-02-21
Updated:2018-03-21
Summary:A NULL pointer access issue was discovered in Asterisk 15.x through 15.2.1. The RTP support in Asterisk maintains its own registry of dynamic codecs and desired payload numbers. While an SDP negotiation may result in a codec using a different payload number, these desired ones are still stored internally. When an RTP packet was received, this registry would be consulted if the payload number was not found in the negotiated SDP. This registry was incorrectly consulted for all packets, even those which are dynamic. If the payload number resulted in a codec of a different type than the RTP stream (for example, the payload number resulted in a video codec but the stream carried audio), a crash could occur if no stream of that type had been negotiated. This was due to the code incorrectly assuming that a stream of that type would always exist.
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
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
4.6 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:L/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): Low
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
5.0 Medium (CCN 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
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-476
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-7285

Source: CCN
Type: Asterisk Project Security Advisory - AST-2018-001
Crash when receiving unnegotiated dynamic payload

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

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

Source: CCN
Type: BID-103149
Asterisk Open Source CVE-2018-7285 Denial of Service Vulnerability

Source: SECTRACK
Type: Third Party Advisory, VDB Entry
1040415

Source: XF
Type: UNKNOWN
asterisk-cve20187285-dos(139403)

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-7285

Vulnerable Configuration:Configuration 1:
  • cpe:/a:digium:asterisk:*:*:*:*:*:*:*:* (Version >= 15.0.0 and <= 15.2.1)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:201872850000000
    V
    CVE-2018-7285 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-02-22
    oval:com.ubuntu.disco:def:201872850000000
    V
    CVE-2018-7285 on Ubuntu 19.04 (disco) - medium.
    2018-02-22
    oval:com.ubuntu.bionic:def:201872850000000
    V
    CVE-2018-7285 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-02-22
    oval:com.ubuntu.artful:def:20187285000
    V
    CVE-2018-7285 on Ubuntu 17.10 (artful) - medium.
    2018-02-21
    oval:com.ubuntu.xenial:def:20187285000
    V
    CVE-2018-7285 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-02-21
    oval:com.ubuntu.bionic:def:20187285000
    V
    CVE-2018-7285 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-02-21
    oval:com.ubuntu.cosmic:def:201872850000000
    V
    CVE-2018-7285 on Ubuntu 18.10 (cosmic) - medium.
    2018-02-21
    oval:com.ubuntu.cosmic:def:20187285000
    V
    CVE-2018-7285 on Ubuntu 18.10 (cosmic) - medium.
    2018-02-21
    oval:com.ubuntu.trusty:def:20187285000
    V
    CVE-2018-7285 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-02-21
    BACK
    digium asterisk *