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

Medium 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-013.html

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

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

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

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

Plugin Details

Severity: Medium

ID: 79439

File Name: asterisk_ast_2014_013.nasl

Version: 1.8

Type: remote

Family: Misc.

Published: 2014/11/25

Updated: 2018/06/27

Dependencies: 63202

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 4.3

Temporal Score: 3.2

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:digium:asterisk

Required KB Items: asterisk/sip_detected, Settings/ParanoidReport

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2014/11/20

Vulnerability Publication Date: 2014/11/20

Reference Information

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

BID: 71221, 71224, 71225