Weakness · High

CWE-623: Unsafe ActiveX Control Marked Safe For Scripting

What it is

An ActiveX control is intended for restricted use, but it has been marked as safe-for-scripting.

MITRE CWE 4.19.1

Severity (our rating)
High
Likelihood of exploit
Not rated by MITRE
Introduced during
Architecture and Design, Implementation
Exploited in the wild
No CVE in CISA's catalog

In more detail

This might allow attackers to use dangerous functionality via a web page that accesses the control, which can lead to different resultant vulnerabilities, depending on the control's behavior.

What an attacker can do

  • Execute Unauthorized Code or Commands (Confidentiality, Integrity, Availability)

How to prevent it

Architecture and Design

  • During development, do not mark it as safe for scripting.

System Configuration

  • After distribution, you can set the kill bit for the control so that it is not accessible from Internet Explorer.

CWE-623 on MITRE's CWE site

H2 Security

Found it in your code?

We review where it appears, fix it with your team, and check it was not already used against you.

Talk to our team

T Academy

Stop writing it in the first place

Learn to build software and systems without weaknesses like this one, with practice on real hosts in your browser, every objective checked on the machine.

Start free

Source: MITRE Common Weakness Enumeration, CWE version 4.19.1. CWE is a trademark of The MITRE Corporation.