CWE•Variant•Incomplete•1 recent CVE
CWE-618Exposed Unsafe ActiveX Method
Description
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).
Common consequences
- Other→Varies by ContextIf there is no integrity checking or origin validation, this method could be invoked by attackers. Since ActiveX controls can exercise far greater control over the operating system than typical Java or javascript, exposed methods can be sub
Potential mitigations
- ImplementationIf you must expose a method, make sure to perform input validation on all arguments, and protect against all possible vulnerabilities.
- Architecture and DesignUse code signing, although this does not protect against any weaknesses that are already in the control.
- Architecture and Design,System ConfigurationWhere possible, avoid marking the control as safe for scripting.