Open Whisper Signal (aka Signal-Desktop) through 1.10.1 allows XSS via a resource location specified in an attribute of a SCRIPT, IFRAME, or IMG element, leading to JavaScript execution after a reply, a different vulnerability than CVE-2018-10994. The attacker needs to send HTML code directly as a message, and then reply to that message to trigger this vulnerability. The Signal-Desktop software fails to sanitize specific HTML elements that can be used to inject HTML code into remote chat windows when replying to an HTML message. Specifically the IMG and IFRAME elements can be used to include remote or local resources. For example, the use of an IFRAME element enables full code execution, allowing an attacker to download/upload files, information, etc. The SCRIPT element was also found to be injectable. On the Windows operating system, the CSP fails to prevent remote inclusion of resources via the SMB protocol. In this case, remote execution of JavaScript can be achieved by referencing the script on an SMB share within an IFRAME element, for example: <IFRAME src=\\DESKTOP-XXXXX\Temp\test.html> and then replying to it. The included JavaScript code is then executed automatically, without any interaction needed from the user. The vulnerability can be triggered in the Signal-Desktop client by sending a specially crafted message and then replying to it with any text or content in the reply (it doesn't matter).
Metrics
Affected Vendors & Products
References
Link | Providers |
---|---|
http://seclists.org/fulldisclosure/2018/May/46 |
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2018-05-17T19:00:00
Updated: 2024-08-05T07:54:36.547Z
Reserved: 2018-05-14T00:00:00
Link: CVE-2018-11101
Vulnrichment
No data.
NVD
Status : Modified
Published: 2018-05-17T19:29:00.557
Modified: 2024-11-21T03:42:41.003
Link: CVE-2018-11101
Redhat
No data.