CWE-360: Trust of System Event Data
Security based on event locations are insecure and can be spoofed.
How it's found
Trust of System Event Data is typically found by tracing untrusted input from where it enters the system to the point where it is used without the check or neutralization this weakness describes, combining manual code review with dynamic testing.
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.
Consequences
- 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.
Mitigations
- Architecture and Design: Never trust or rely any of the information in an Event for security.
Where this fits in a TurboPentest engagement
TurboPentest's agentic pentest is powerful and covers a broad range of issues automatically. This particular class is best confirmed in a manual IntegSec engagement, where human pentesters apply deeper methodology and a larger context window than any automated pass.
Frequently asked questions
What is CWE-360?
Security based on event locations are insecure and can be spoofed.
How do you find Trust of System Event Data?
Trust of System Event Data is typically found by tracing untrusted input from where it enters the system to the point where it is used without the check or neutralization this weakness describes, combining manual code review with dynamic testing.
What is the impact of CWE-360?
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.
Does TurboPentest test for Trust of System Event Data?
TurboPentest's agentic pentest is powerful and covers a broad range of issues automatically. This particular class is best confirmed in a manual IntegSec engagement, where human pentesters apply deeper methodology and a larger context window than any automated pass.
Related CWEs
Find these issues before an attacker does
TurboPentest runs an agentic AI pentest against your target and reports findings with proof, from $99 per target.
Start a $99 pentest