Asterisk Remote Crash Vulnerability in SIP Channel Driver (AST-2012-006)

This script is Copyright (C) 2012-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 vulnerability
that could allow a remote attacker to crash the server. This issue
could be exploited by sending an UPDATE over a SIP channel after the
channel dialog has been destroyed, but before the SIP dialog
associated with the call has been destroyed.

Only servers that have 'trustrpid' set to 'True' are affected.

See also :

http://downloads.asterisk.org/pub/security/AST-2012-006.html
https://issues.asterisk.org/jira/browse/ASTERISK-19770

Solution :

Upgrade to Asterisk 1.8.11.1 / 10.3.1 / C.3.7.4 or apply the patches
listed in the Asterisk advisory. Alternatively, set 'trustrpid' to
'False'.

Risk factor :

Low / CVSS Base Score : 3.5
(CVSS2#AV:N/AC:M/Au:S/C:N/I:N/A:P)
CVSS Temporal Score : 2.6
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Misc.

Nessus Plugin ID: 58906 ()

Bugtraq ID: 53205

CVE ID: CVE-2012-2416