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
This weakness is not covered by the automated black-box pentest. IntegSec pentesters cover it in a manual engagement.
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?
This weakness is not covered by the automated black-box pentest. IntegSec pentesters cover it in a manual engagement.
Related CWEs
Written and reviewed by
Michel Chamberland - Founder & CEO, IntegSec
CISSP, OSCP, OSCE, CEH, GIAC, CCSK · 20+ years in offensive security
Michel has spent 20+ years on offensive security teams including IBM X-Force Red and Trustwave SpiderLabs, leading penetration tests, red team engagements, and breach response for Fortune 500 customers. He is the founder of IntegSec and the architect of TurboPentest.
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 pentest