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

High Nessus Plugin ID 61993

Synopsis

A telephony application running on the remote host is 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.

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.

See Also

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

Plugin Details

Severity: High

ID: 61993

File Name: asterisk_ast_2012_012.nasl

Version: 1.13

Type: remote

Family: Misc.

Published: 2012/09/06

Updated: 2018/06/27

Dependencies: 63202

Configuration: Enable paranoid mode

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:digium:asterisk

Required KB Items: asterisk/sip_detected, Settings/ParanoidReport

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/08/30

Vulnerability Publication Date: 2012/08/30

Reference Information

CVE: CVE-2012-2186

BID: 55351