Asterisk PJSIP Multiple Vulnerabilities (AST-2014-013 / AST-2014-015 / AST-2014-016)

high Nessus Plugin ID 79439

Synopsis

A telephony application running on the remote host is affected by multiple vulnerabilities.

Description

According to the version in its SIP banner, the version of Asterisk running on the remote host is potentially affected by the following vulnerabilities in the PJSIP channel driver :

- A security bypass vulnerability exists due to a flaw in the 'res_pjsip_acl' module which may allow a remote attacker to bypass ACL rules for rejecting SIP requests from certain hosts. (CVE-2014-8413)

- A denial of service vulnerability exists due to a race condition in the 'chan_pjsip' channel driver which could allow a remote attacker to crash the application.
(CVE-2014-8415)

- A denial of service vulnerability exists due to a flaw in the 'res_pjsip_refer' module that is triggered when handling an INVITE with 'Replaces' message that has been sent after a session has already been established.
By using a specially crafted request, a remote attacker could exploit this to crash the application.
(CVE-2014-8416)

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

Solution

Upgrade to Asterisk 12.7.1 / 13.0.1 or apply the appropriate patch or workaround listed in the Asterisk advisories.

See Also

http://downloads.asterisk.org/pub/security/AST-2014-016.html

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

http://downloads.asterisk.org/pub/security/AST-2014-013.html

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

http://downloads.asterisk.org/pub/security/AST-2014-015.html

Plugin Details

Severity: High

ID: 79439

File Name: asterisk_ast_2014_013.nasl

Version: 1.10

Type: remote

Family: Misc.

Published: 11/25/2014

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2014-8413

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: 11/20/2014

Vulnerability Publication Date: 11/20/2014

Reference Information

CVE: CVE-2014-8413, CVE-2014-8415, CVE-2014-8416

BID: 71221, 71224, 71225