Digium Asterisk 12.0.0/12.1.0/12.1.1/12.2.0/12.3.0 SIP Timeout deadlock

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.6$0-$5k0.00

Summaryinfo

A vulnerability marked as problematic has been reported in Digium Asterisk 12.0.0/12.1.0/12.1.1/12.2.0/12.3.0. The affected element is an unknown function of the component SIP Timeout Handler. This manipulation causes deadlock. This vulnerability is handled as CVE-2014-4048. The attack can be initiated remotely. There is not any exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability classified as problematic was found in Digium Asterisk 12.0.0/12.1.0/12.1.1/12.2.0/12.3.0 (Communications System). Affected by this vulnerability is an unknown code of the component SIP Timeout Handler. The manipulation with an unknown input leads to a deadlock vulnerability. The CWE definition for the vulnerability is CWE-833. The product contains multiple threads or executable segments that are waiting for each other to release a necessary lock, resulting in deadlock. As an impact it is known to affect availability. The summary by CVE is:

The PJSIP Channel Driver in Asterisk Open Source before 12.3.1 allows remote attackers to cause a denial of service (deadlock) by terminating a subscription request before it is complete, which triggers a SIP transaction timeout.

The weakness was released 06/12/2014 by Mark Michelson as AST-2014-008 as confirmed advisory (Website). It is possible to read the advisory at downloads.digium.com. The vendor was not involved in the public release. This vulnerability is known as CVE-2014-4048 since 06/12/2014. The attack can be launched remotely. The exploitation doesn't need any form of authentication. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1499 according to MITRE ATT&CK. The advisory points out:

When a SIP transaction timeout caused a subscription to be terminated, the action taken by Asterisk was guaranteed to deadlock the thread on which SIP requests are serviced. Note that this behavior could only happen on established subscriptions, meaning that this could only be exploited if an attacker bypassed authentication and successfully subscribed to a real resource on the Asterisk server.

The vulnerability was handled as a non-public zero-day exploit for at least 15 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 76089 (Asterisk PJSIP Channel Driver Multiple DoS Vulnerabilities (AST-2014-005 / AST-2014-008)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Misc..

Upgrading to version 12.3.1 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at downloads.asterisk.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. The advisory contains the following remark:

The socket-servicing thread is now no longer capable of dispatching synchronous tasks to other threads since that may result in deadlocks.

The vulnerability is also documented in the databases at X-Force (93795), Tenable (76089), SecurityFocus (BID 68032†) and SecurityTracker (ID 1030428†). Additional details are provided at issues.asterisk.org. Entry connected to this vulnerability is available at VDB-13588. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.6

VulDB Base Score: 5.3
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Deadlock
CWE: CWE-833 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 76089
Nessus Name: Asterisk PJSIP Channel Driver Multiple DoS Vulnerabilities (AST-2014-005 / AST-2014-008)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Asterisk 12.3.1
Patch: downloads.asterisk.org

Timelineinfo

05/28/2014 🔍
06/12/2014 +15 days 🔍
06/12/2014 +0 days 🔍
06/12/2014 +0 days 🔍
06/13/2014 +1 days 🔍
06/13/2014 +0 days 🔍
06/13/2014 +0 days 🔍
06/17/2014 +4 days 🔍
06/22/2021 +2562 days 🔍

Sourcesinfo

Vendor: digium.com

Advisory: AST-2014-008
Researcher: Mark Michelson
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-4048 (🔍)
GCVE (CVE): GCVE-0-2014-4048
GCVE (VulDB): GCVE-100-13591

IAVM: 🔍

X-Force: 93795 - Asterisk PJSIP Channel Driver denial of service, Medium Risk
SecurityFocus: 68032 - Asterisk PJSIP Channel Driver CVE-2014-4048 Denial of Service Vulnerability
SecurityTracker: 1030428 - Asterisk PJSIP Channel Driver Thread Deadlock Flaw Lets Remote Authenticated Users Deny Service

Misc.: 🔍
See also: 🔍

Entryinfo

Created: 06/13/2014 23:10
Updated: 06/22/2021 22:02
Changes: 06/13/2014 23:10 (57), 12/24/2017 09:41 (21), 06/22/2021 21:48 (8), 06/22/2021 22:02 (1)
Complete: 🔍
Cache ID: 216:8C2:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!