Websense Email Security vulnerable to persistent Cross-Site Scripting in audit log details view
Users of Websense Data Security that are reviewing DLP incidents can be attacked via Cross-Site Scripting. This issue can be exploited using a specially crafted email, or by sending a specially crafted HTTP request through the Websense proxy. The attacker-supplied code can perform a wide variety of attacks, such as stealing session tokens, login credentials, performing arbitrary actions as victims, or logging victims' keystrokes.
This issue was discovered on Websense Triton v7.8.3 and Websense appliance modules V-Series v7.7. Other versions may be affected as well.
This issue is resolved in TRITON APX Version 8.0. More information about the fixed can be found at the following location:
Websense Data Security Suite contains three modules - Data Security Gateway, Data Discover, and Data Endpoint - that can help manage the risk of losing your data to malicious users or accidental misuse.
Email Security Gateway monitors the flow of email messages in real time, and has a Message Log where you can view records of inbound messages. The messages include client details such as sender address. All input from the (mail) client is not properly encoded when presented on the screen, resulting in Cross-Site Scripting.
This issue can be exploit via any part of an email message that is shown in the Message Log. In the screenshots below, a malicious user or external attacker has sends an email with the 'Sender address' containing Cross-Site Scripting payload. When a Triton user (victim) views the malicious log entry of the specially crafted email - both inbound and outbound messages - the payload will be executed in the victim's browser.
Figure 1: Cross-Site Scripting in Audit Log entry of Websense Email Security
Figure 2: Message log type details (<IFRAME>) shows that client data is displayed on screen in an insecure way
Thanks for reading.
Shipping secure products?
When building software, security bugs are introduced. Don’t wait until the last minute to find them. A security source code review or penetration test (pentest) is a highly effective method to evaluate the security quality of your applications. When building software, ensure to verify security early and often (Agile Security Testing) to ship quality, secure by design products.