CVE-2018-7285
Asterisk NULL Pointer Dereference Buffer Over-read
Description
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.
INFO
Published Date :
Feb. 22, 2018, 12:29 a.m.
Last Modified :
March 21, 2018, 12:56 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-7285
.
URL | Resource |
---|---|
http://downloads.asterisk.org/pub/security/AST-2018-001.html | Patch Vendor Advisory |
http://www.securityfocus.com/bid/103149 | Third Party Advisory VDB Entry |
http://www.securitytracker.com/id/1040415 | Third Party Advisory VDB Entry |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-7285
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-7285
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Mar. 21, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type http://downloads.asterisk.org/pub/security/AST-2018-001.html No Types Assigned http://downloads.asterisk.org/pub/security/AST-2018-001.html Patch, Vendor Advisory Changed Reference Type http://www.securitytracker.com/id/1040415 No Types Assigned http://www.securitytracker.com/id/1040415 Third Party Advisory, VDB Entry Changed Reference Type http://www.securityfocus.com/bid/103149 No Types Assigned http://www.securityfocus.com/bid/103149 Third Party Advisory, VDB Entry Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:* versions from (including) 15.0.0 up to (including) 15.2.1 -
CVE Modified by [email protected]
Feb. 28, 2018
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/103149 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 24, 2018
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1040415 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 22, 2018
Action Type Old Value New Value Changed Description A NULL pointer access issue was discovered in Asterisk 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. 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.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-7285
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-7285
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.68 }} -0.69%
score
0.86289
percentile