Digium Asterisk 1.8/10/11 Device State Caching SIP/HTTP/XMPP memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in Digium Asterisk 1.8/10/11. Impacted is an unknown function of the component Device State Caching. Such manipulation as part of SIP/HTTP/XMPP leads to memory corruption. This vulnerability is uniquely identified as CVE-2012-5977. The attack can be launched remotely. Moreover, an exploit is present. It is advisable to upgrade the affected component.
Details
A vulnerability was found in Digium Asterisk 1.8/10/11 (Communications System) and classified as critical. Affected by this issue is an unknown functionality of the component Device State Caching. The manipulation as part of a SIP/HTTP/XMPP leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is availability. CVE summarizes:
Asterisk Open Source 1.8.x before 1.8.19.1, 10.x before 10.11.1, and 11.x before 11.1.2; Certified Asterisk 1.8.11 before 1.8.11-cert10; and Asterisk Digiumphones 10.x-digiumphones before 10.11.1-digiumphones, when anonymous calls are enabled, allow remote attackers to cause a denial of service (resource consumption) by making anonymous calls from multiple sources and consequently adding many entries to the device state cache.
The weakness was disclosed 01/02/2013 by Russell Bryant as AST-2012-015 as confirmed advisory (Website). The advisory is shared for download at downloads.asterisk.org. The public release has been coordinated in cooperation with the vendor. This vulnerability is handled as CVE-2012-5977 since 11/21/2012. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are unknown but a public exploit is available. The advisory points out:
Asterisk maintains an internal cache for devices. The device state cache holds the state of each device known to Asterisk, such that consumers of device state information can query for the last known state for a particular device, even if it is not part of an active call. The concept of a device in Asterisk can include things that do not have a physical representation. One way that this currently occurs is when anonymous calls are allowed in Asterisk. A device is automatically created and stored in the cache for each anonymous call that occurs; this is possible in the SIP and IAX2 channel drivers and through channel drivers that utilize the res_jabber/res_xmpp resource modules (Gtalk, Jingle, and Motif). Attackers exploiting this vulnerability can attack an Asterisk system configured to allow anonymous calls by varying the source of the anonymous call, continually adding devices to the device state cache and consuming a system's resources.
The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 190 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 64717 (Asterisk Multiple Vulnerabilities (AST-2012-014 / AST-2012-015)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Misc.. The commercial vulnerability scanner Qualys is able to test this issue with plugin 42397 (Asterisk Multiple Denial of Service Vulnerabilities (AST-2012-014, AST-2012-015)).
Upgrading to version 1.8.19.1, 10.11.1 or 11.1.2 eliminates this vulnerability. The upgrade is hosted for download at downloads.asterisk.org. A possible mitigation has been published immediately after the disclosure of the vulnerability. Channels that are not associated with a physical device are no longer stored in the device state cache. This affects Local, DAHDI, SIP and IAX2 channels, and any channel drivers built on the res_jabber/res_xmpp resource modules (Gtalk, Jingle, and Motif).
The vulnerability is also documented in the databases at X-Force (80922), Tenable (64717), SecurityFocus (BID 57095†), Secunia (SA51689†) and SecurityTracker (ID 1027932†). The entries VDB-7231 and VDB-7246 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.digium.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 6.7
VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 64717
Nessus Name: Asterisk Multiple Vulnerabilities (AST-2012-014 / AST-2012-015)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 892605
OpenVAS Name: Debian Security Advisory DSA 2605-2 (asterisk - several issues
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Asterisk 1.8.19.1/10.11.1/11.1.2
PaloAlto IPS: 🔍
Timeline
06/26/2012 🔍11/21/2012 🔍
01/02/2013 🔍
01/02/2013 🔍
01/02/2013 🔍
01/02/2013 🔍
01/02/2013 🔍
01/03/2013 🔍
01/03/2013 🔍
01/04/2013 🔍
01/08/2013 🔍
04/20/2021 🔍
Sources
Vendor: digium.comAdvisory: AST-2012-015
Researcher: Russell Bryant
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2012-5977 (🔍)
GCVE (CVE): GCVE-0-2012-5977
GCVE (VulDB): GCVE-100-7232
OVAL: 🔍
X-Force: 80922
SecurityFocus: 57095 - Astium PBX Denial of Service Vulnerability
Secunia: 51689 - Asterisk Multiple Vulnerabilities, Highly Critical
SecurityTracker: 1027932 - Asterisk State Caching Flaw Lets Remote Users Deny Service
Vulnerability Center: 37922 - Multiple Digium Products Remote DoS Vulnerability via Anonymous Calls From Multiple Sources, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 01/03/2013 19:05Updated: 04/20/2021 14:18
Changes: 01/03/2013 19:05 (92), 12/24/2017 09:34 (7), 04/20/2021 14:18 (3)
Complete: 🔍
Cache ID: 216:ABA:103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.