CWE-618: Exposed Unsafe ActiveX Method

Variant Incomplete Simple

CWE版本: 4.18

更新日期: 2025-09-09

弱点描述

An ActiveX control is intended for use in a web browser, but it exposes dangerous methods that perform actions that are outside of the browser's security model (e.g. the zone or domain).

扩展描述

ActiveX controls can exercise far greater control over the operating system than typical Java or javascript. Exposed methods can be subject to various vulnerabilities, depending on the implemented behaviors of those methods, and whether input validation is performed on the provided arguments. If there is no integrity checking or origin validation, this method could be invoked by attackers.

常见后果

影响范围: Other

技术影响: Other

潜在缓解措施

阶段: Implementation

描述: If you must expose a method, make sure to perform input validation on all arguments, and protect against all possible vulnerabilities.

阶段: Architecture and Design

描述: Use code signing, although this does not protect against any weaknesses that are already in the control.

阶段: Architecture and Design System Configuration

描述: Where possible, avoid marking the control as safe for scripting.

检测方法

方法: Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

有效性: High

观察示例

参考: CVE-2007-1120

download a file to arbitrary folders.

参考: CVE-2006-6838

control downloads and executes a url in a parameter

参考: CVE-2007-0321

resultant buffer overflow

引入模式

阶段 说明
Architecture and Design -
Implementation -
关键信息

CWE ID: CWE-618

抽象级别: Variant

结构: Simple

状态: Incomplete

相关弱点