Software running on Microsoft Windows that utilizes HTTP requests can be forwarded to a file:// protocol on a malicious server, which causes Windows to automatically attempt authentication via SMB to the malicious server in some circumstances. The encrypted form of the user's credentials are then logged on the malicious server. This vulnerability is alternatively known as "Redirect to SMB".
CWE-201: Information Exposure Through Sent Data
Many software products use HTTP requests for various features such as software update checking. A malicious user can intercept such requests (such as with a MITM proxy) and use HTTP Redirect to redirect the victim a malicious SMB server. If the redirect is a file:// URL and the victim is running Microsoft Windows, Windows will automatically attempt to authenticate to the malicious SMB server by providing the victim's user credentials to the server. These credentials can then be logged by the malicious server. The credentials are encrypted, but may be "brute-forced" to break the encryption.
urlmon uses the wininet library for processing, therefore the affected functionality may be contained within wininet; it is currently not clear where the vulnerability lies. Internet Explorer and the WebBrowser component of .NET have also be reported vulnerable to this SMB redirection. For a longer description with more examples, see Cylance's blog on the issue.
While the HTTP Redirect vector is novel, this type of issue with SMB has been well known for some time. For example, see Aaron Spangler's report from 1997, Steve Birnbaum's report, Paul Ashton's report, and information from Microsoft from 2009. Please see the full list of references at the end of this publication.
An attacker exploiting this vulnerability may obtain the victim's user credentials in an encrypted format.
The CERT/CC is currently unaware of a full solution to this problem. However, affected users may consider the following workarounds.
Block outbound SMB
AVG Anti-virus Software
COMODO Security Solutions, Inc.
Thanks to Brian Wallace of Cylance, Inc., for reporting this vulnerability.
This document was written by Garret Wassermann.
|Date First Published:||2015-04-13|
|Date Last Updated:||2017-09-05 21:58 UTC|