CWE-360: Trust of System Event Data

BaseIncompleteExploit Likelihood: High

Security based on event locations are insecure and can be spoofed.

View on MITRE
Back to CWE Lookup

Extended Description

Events are a messaging system which may provide control data to programs listening for events. Events often do not have any type of authentication framework to allow them to be verified from a trusted source. Any application, in Windows, on a given desktop can send a message to any window on the same desktop. There is no authentication framework for these messages. Therefore, any message can be used to manipulate any process on the desktop if the process does not check the validity and safeness of those messages.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Frequently Asked Questions

What is CWE-360: Trust of System Event Data?+

CWE-360: Trust of System Event Data is a Common Weakness Enumeration (CWE) entry maintained by MITRE. Security based on event locations are insecure and can be spoofed. Events are a messaging system which may provide control data to programs listening for events. Events often do not have any type of authentication framework to allow them to be verified from a trusted source. Any application, in Windows, on a given desktop can send a message to any window on the same desktop. There is no authentication framework for these messages. Therefore, any message can be used to manipulate any process on the desktop if the process does not check the validity and safeness of those messages.

What are the security consequences of Trust of System Event Data?+

If exploited, CWE-360 (Trust of System Event Data) it can compromise Integrity, Confidentiality, Availability and Access Control, leading to outcomes such as Gain Privileges or Assume Identity and Execute Unauthorized Code or Commands.

How do you prevent or mitigate Trust of System Event Data?+

Recommended mitigations for CWE-360 include: Never trust or rely any of the information in an Event for security.

Which programming languages are affected by Trust of System Event Data?+

CWE-360 commonly affects Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

What are real-world examples of Trust of System Event Data?+

MITRE documents real CVEs mapped to CWE-360, including CVE-2004-0213. You can look up the full details of each CVE, including CVSS scores and remediation guidance, on our CVE Lookup tool.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-360 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More