发布时间 :2005-07-05 00:00:00
修订时间 :2017-07-10 21:32:46

[原文]Stack-based buffer overflow in the function that parses commands in Asterisk 1.0.7, when the 'write = command' option is enabled, allows remote attackers to execute arbitrary code via a command that has two double quotes followed by a tab character.

[CNNVD]管理接口 堆栈溢出漏洞(CNNVD-200507-026)

        Asterisk 1.0.7中命令解析功能存在堆栈溢出漏洞。
        当启用"write = command"选项时,远程攻击者可通过命令后附加tab字符,再包含两个引号当方式,执行任意代码。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)


- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(UNKNOWN)  BUGTRAQ  20050622 Portcullis Security Advisory 05-013 - VoIP - Asterisk Stack Overflow
(UNKNOWN)  XF  asterisk-manager-interface-bo(21115)

- 漏洞信息

管理接口 堆栈溢出漏洞
中危 缓冲区溢出
2005-07-05 00:00:00 2005-10-20 00:00:00
        Asterisk 1.0.7中命令解析功能存在堆栈溢出漏洞。
        当启用"write = command"选项时,远程攻击者可通过命令后附加tab字符,再包含两个引号当方式,执行任意代码。

- 公告与补丁


- 漏洞信息

Asterisk Manager CLI Command Overflow
Remote / Network Access Input Manipulation
Loss of Integrity

- 漏洞描述

A remote overflow exists in Asterisk Manager Interface. The Asterisk Manager Interface fails to perform proper bounds checking on management command strings resulting in a buffer overflow. With a specially crafted request, an attacker can cause a remote buffer overflow, resulting in a loss of integrity.

- 时间线

2005-06-22 2005-05-19
Unknow Unknow

- 解决方案

Upgrade to version 1.0.8 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s): ensure the parameter "write = command" is never enabled within manager.conf

- 相关参考

- 漏洞作者

- 漏洞信息

Asterisk Manager Interface Command Processing Remote Buffer Overflow Vulnerability
Boundary Condition Error 14031
Yes No
2005-06-22 12:00:00 2009-07-12 04:06:00
Discovery of this issue is credited to Wade Alcorn.

- 受影响的程序版本

Asterisk Asterisk 1.0.7
Asterisk Asterisk CVS HEAD

- 漏洞讨论

Asterisk manager interface is prone to a remote buffer overflow vulnerability. The issue manifests due to a lack of sufficient boundary checks performed by command line interface processing routines. Reports indicate that the issue may only be exploited if the manager interface is accessible and an attacker is able to write commands to the interface.

Under certain circumstances a remote attacker may exploit this issue to execute arbitrary code in the context of the affected software.

- 漏洞利用

An exploit was developed by the discoverer o this issue. This exploit s not believed to be publicly available.

- 解决方案

The vendor has released an update (1.08) to address this issue. Customers are advised to contact the vendor for further information regarding obtaining and applying this update.

- 相关参考