CWEweakness
CWE-360 Trust of System Event Data
High
Official page ↗
- Abstraction
- Base
- Structure
- Simple
- Status
- Incomplete
- Likelihood of exploit
- High
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
Security based on event locations are insecure and can be spoofed.
Extended description
Events are a messaging system that 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.
Common consequences
• Integrity, Confidentiality, Availability, Access Control: Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands — If one trusts the system-event information and executes commands based on it, one could potentially take actions based on a spoofed identity.
Potential mitigations
• [Architecture and Design] Never trust or rely on any of the information in an Event for security.
Observed examples
• CVE-2004-0213: Attacker uses Shatter attack to bypass GUI-enforced protection for CVE-2003-0908.
Related
Observed example · CVE (1)
- CVE-2004-0213 Utility Manager in Windows 2000 launches winhlp32.exe while Utility Manager is running with raised privileges, which allows local users to… vulnerability
Child of · CWE (1)
- CWE-345 Insufficient Verification of Data Authenticity weakness
Referenced by CVE · weakness (2)
- CVE-2024-3371 MongoDB Compass may accept and use insufficiently validated input from an untrusted external source. vulnerability
- CVE-2017-0911 Twitter Kit for iOS versions 3.0 to 3.2.1 is vulnerable to a callback verification flaw in the "Login with Twitter" component allowing an… vulnerability
Referenced by CWE · child of (1)
- CWE-422 Unprotected Windows Messaging Channel weakness