Asterisk main/udptl.c Buffer Overflows (AST-2011-002)

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


Synopsis :

The version of Asterisk installed on the remote host may contain
multiple buffer overflow vulnerabilities.

Description :

According to the version in its SIP banner, the version of Asterisk
running on the remote host may be vulnerable to heap- and stack-buffer
overflow attacks with specially crafted UDPTL packets.

Successful exploitation requires T.38 support to be enabled on the
target, which is not the default, and can allow execution of arbitrary
code in the context of the Asterisk server or an application crash.

Note that Nessus has not determined whether T.38 is actually enabled
so this finding may be a false positive.

See also :

http://downloads.asterisk.org/pub/security/AST-2011-002.html

Solution :

Upgrade to Asterisk 1.4.39.2 / 1.6.1.22 / 1.6.2.16.2 / 1.8.2.4 or
Asterisk Business Edition C.3.6.3 or later.

Alternatively, disable T.38 support by setting 't38pt_udptl' to 'no'
in 'sip.conf' and ensuring that the chan_ooh323 module is not
loaded.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.5
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Gain a shell remotely

Nessus Plugin ID: 52157 ()

Bugtraq ID: 46474

CVE ID: CVE-2011-1147