Asterisk Endpoint Provisional Response Parsing RTP Port Consumption Remote DoS (AST-2012-010)

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, authenticated attacker to exhaust the
server of resources.

If an endpoint sends a provisional response to the server's re-INVITE
message, certain data structures are not freed. More iterations of
this sequence lead to exhaustion of all available RTP ports.

See also :

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

Solution :

Upgrade to Asterisk Open Source 1.8.13.1 / 10.5.2, Business Edition
C.3.7.5, Certified Asterisk 1.8.11-cert4 or apply the patches listed in
the Asterisk advisory.

Risk factor :

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

Family: Misc.

Nessus Plugin ID: 60064 ()

Bugtraq ID: 54327

CVE ID: CVE-2012-3863