Asterisk Manager Interface ExternalIVR Application Originate Action Remote Shell Command Execution (AST-2012-012)

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 security bypass 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 bypass access
controls, execute shell commands and escalate privileges.

Applications and functions that require 'system' class authorization are
contained in a predefined list, which allows or denies certain actions.
The combination of the 'ExternalIVR' application and the 'Originate'
action is not in the predefined list and can be used to execute
unauthorized shell commands on the host.

See also :

http://downloads.asterisk.org/pub/security/AST-2012-012.html

Solution :

Upgrade to Asterisk 1.8.15.1 / 10.7.1, Business Edition C.3.7.6,
Certified Asterisk 1.8.11-cert6 or apply the patches listed in the
Asterisk advisory.

Risk factor :

High / CVSS Base Score : 9.0
(CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C)
CVSS Temporal Score : 7.4
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Misc.

Nessus Plugin ID: 61993 ()

Bugtraq ID: 55351

CVE ID: CVE-2012-2186