CWE
Home > CWE List > CWE- Individual Dictionary Definition (1.0)  
Search by ID:

CWE-618: Exposed Unsafe ActiveX Method

Individual Definition in a New Window
Exposed Unsafe ActiveX Method
Status: Incomplete
Weakness ID: 618 (Weakness Variant)
Description
Summary

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). If there is no integrity checking or origin validation, this method could be invoked by attackers.

Weakness Ordinalities
Primary (where the weakness exists independent of other weaknesses)
Potential Mitigations

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

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

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

Observed Examples
ReferenceDescription
download a file to arbitrary folders.
control downloads and executes a url in a parameter
resultant buffer overflow
Other Notes

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.

Alternate keywords: OLE Object, Component Object Model (COM)

References
Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ChildOfWeakness BaseWeakness BaseWeakness Base267Privilege Defined With Unsafe Actions
Research Concepts (primary)1000
ChildOfWeakness ClassWeakness ClassWeakness Class691Insufficient Control Flow Management
Research Concepts1000
ChildOfCategoryCategory275Permission Issues
Development Concepts (primary)699
PeerOfWeakness ClassWeakness ClassWeakness Class100Technology-Specific Input Validation Problems
Research Concepts1000
PeerOfWeakness VariantWeakness VariantWeakness Variant623Unsafe ActiveX Control Marked Safe For Scripting
Research Concepts1000
Time of Introduction
* Architecture and Design
* Implementation
Content History
Modifications
Eric Dalci. Cigital. 2008-07-01. (External)
updated Time_of_Introduction
CWE Content Team. MITRE. 2008-09-08. (Internal)
updated Relationships, Observed_Example, Other_Notes, Weakness_Ordinalities
Page Last Updated: September 10, 2008