Asterisk chan_pjsip Incompatible Codecs DoS (AST-2015-001)

medium Nessus Plugin ID 81205

Synopsis

A telephony application running on the remote host is affected by a denial of service vulnerability.

Description

According to its SIP banner, the version of Asterisk running on the remote host has a flaw in which it fails to reclaim allocated RTP ports whenever a connection is made to an authenticated endpoint whose SPD offers only codecs that are not allowed by Asterisk. An attacker could exploit this vulnerability to cause an exhaustion of available ports, leading to a denial of service. Note that this only affects Asterisk using the PJSIP channel driver.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Asterisk 12.8.1 / 13.1.1 or apply the appropriate patch listed in the Asterisk advisory.

See Also

http://downloads.asterisk.org/pub/security/AST-2015-001.html

https://issues.asterisk.org/jira/browse/ASTERISK-24666

Plugin Details

Severity: Medium

ID: 81205

File Name: asterisk_ast_2015_001.nasl

Version: 1.12

Type: remote

Family: Misc.

Published: 2/6/2015

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P

Vulnerability Information

CPE: cpe:/a:digium:asterisk

Required KB Items: Settings/ParanoidReport, asterisk/sip_detected

Exploit Ease: No known exploits are available

Patch Publication Date: 1/28/2015

Vulnerability Publication Date: 1/9/2015

Reference Information

BID: 72380