Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

Microsoft Windows SMB Tree Connect Response memory corruption vulnerability
                              3 February 2017


        AusCERT Security Bulletin Summary

Product:           Microsoft Windows SMB
Publisher:         CERT/CC
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Mitigation

Original Bulletin: 

- --------------------------BEGIN INCLUDED TEXT--------------------

Vulnerability Note VU#867968 
Microsoft Windows SMB Tree Connect Response memory corruption vulnerability

Original Release date: 02 Feb 2017 | Last revised: 02 Feb 2017


Microsoft Windows contains a memory corruption bug in the handling of SMB 
traffic, which may allow a remote, unauthenticated attacker to cause a denial
of service or potentially execute arbitrary code on a vulnerable system.


Microsoft Windows fails to properly handle traffic from a malicious server. In
particular, Windows fails to properly handle a server response that contains 
too many bytes following the structure defined in the SMB2 TREE_CONNECT 
Response structure. By connecting to a malicious SMB server, a vulnerable 
Windows client system may crash (BSOD) in mrxsmb20.sys. It is not clear at 
this point whether this vulnerability may be exploitable beyond a 
denial-of-service attack. We have confirmed the crash with fully-patched 
Windows 10 and Windows 8.1 client systems.

Note that there are a number of techniques that can be used to trigger a 
Windows system to connect to an SMB share. Some may require little to no user

Exploit code for this vulnerability is publicly available.


By causing a Windows system to connect to a malicious SMB share, a remote 
attacker may be able to cause a denial of service or potentially execute 
arbitrary code with Windows kernel privileges.


The CERT/CC is currently unaware of a practical solution to this problem. 
Please consider the following workarounds:

Block outbound SMB

Consider blocking outbound SMB connections (TCP ports 139 and 445 along with 
UDP ports 137 and 138) from the local network to the WAN.

Vendor Information (Learn More)

Vendor Status Date Notified Date Updated

Microsoft Corporation Affected 01 Feb 2017 02 Feb 2017

If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector

Base 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal 9.0 E:POC/RL:U/RC:C

Environmental 9.0 CDP:ND/TD:H/CR:ND/IR:ND/AR:ND




This vulnerability was publicly reported by PythonResponder.

This document was written by Will Dormann.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
Comment: http://www.auscert.org.au/render.html?it=1967