Asterisk Multiple Vulnerabilities (AST-2013-006 / AST-2013-007)

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 denial of service vulnerability exists in the
'unpacksms16()' function of the 'app_sms.c' source file.
When a 16-bit SMS message with an unusual message length
value is received, an infinite loop will be created,
causing a denial of service.

- A privilege escalation vulnerability exists because of
the way dialplan functions are handled during variable
substitution. Privileged dialplan functions, such as
the SHELL() and FILE() functions, can be used by
external control protocols, such as the Asterisk Manager
Interface and Asterisk Gateway Interface. A malicious,
authenticated user could use these functions to modify
arbitrary files or execute arbitrary commands.

See also :

Solution :

Upgrade to Asterisk / 10.12.4 / 11.6.1 / Certified Asterisk
1.8.15-cert4 / 11.2-cert3, or apply the appropriate patches or
workaround contained in the Asterisk advisories.

Risk factor :

Medium / CVSS Base Score : 6.5
CVSS Temporal Score : 5.7
Public Exploit Available : false

Family: Misc.

Nessus Plugin ID: 71538 ()

Bugtraq ID: 64364

CVE ID: CVE-2013-7100