Asterisk Multiple Vulnerabilities (AST-2012-014 / AST-2012-015)

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


Synopsis :

The version of Asterisk installed on the remote host may be 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 :

- A stack-based buffer overflow error exists related to
SIP, HTTP and XMPP handling over TCP. Note that in the
case of 'Certified Asterisk', SIP is not affected.
Further note that in the case of XMPP, an attacker must
establish an authenticated session first. (CVE-2012-5976)

- An error exists related to device state cache and
anonymous calls that could allow system resources to be
exhausted. Note this vulnerability only affects systems
configured to allow anonymous calls. (CVE-2012-5977)

See also :

http://downloads.asterisk.org/pub/security/AST-2012-014.html
http://downloads.asterisk.org/pub/security/AST-2012-015.html
http://blog.exodusintel.com/2013/01/07/who-was-phone/

Solution :

Upgrade to Asterisk 1.8.19.1 / 10.11.1 / 11.1.2, Certified Asterisk
1.8.11-cert10 or apply the patches listed in the Asterisk advisory.

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 6.9
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Misc.

Nessus Plugin ID: 64717 ()

Bugtraq ID: 57105
57106

CVE ID: CVE-2012-5976
CVE-2012-5977