Asterisk PJSIP Multiple Vulnerabilities (AST-2014-013 / AST-2014-015 / AST-2014-016)
Medium Nessus Plugin ID 79439
SynopsisA telephony application running on the remote host is affected by multiple vulnerabilities.
DescriptionAccording 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.
- 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.
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
SolutionUpgrade to Asterisk 12.7.1 / 13.0.1 or apply the appropriate patch or workaround listed in the Asterisk advisories.