Asterisk PJSIP Channel Driver Subscription DoS (AST-2014-004)

This script is Copyright (C) 2014 Tenable Network Security, Inc.


Synopsis :

The version of Asterisk installed on the remote host may be affected
by a denial of service vulnerability.

Description :

According to the version in its SIP banner, the version of Asterisk
running on the remote host is potentially affected by a denial of
service vulnerability.

A flaw exists in the PJSIP channel driver when handling 'SUBSCRIBE'
requests. When Asterisk receives a 'SUBSCRIBE' request for a presence
Event, with no Accept headers, it will try to access an invalid
pointer to that header location. A remote attacker could exploit this
flaw by sending a specially crafted request to cause the program to
crash.

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

See also :

http://www.nessus.org/u?0688704f
http://downloads.asterisk.org/pub/security/AST-2014-004.html
https://issues.asterisk.org/jira/browse/ASTERISK-23139

Solution :

Upgrade to Asterisk 12.1.0 or apply the appropriate patch listed in
the Asterisk advisory.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P)
CVSS Temporal Score : 3.7
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : false

Family: Misc.

Nessus Plugin ID: 73022 ()

Bugtraq ID: 66096

CVE ID: CVE-2014-2289