search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Microsoft Windows fails to properly validate buffer size of incoming SMB packets

Vulnerability Note VU#337764

Original Release Date: 2003-10-10 | Last Revised: 2003-10-10

Overview

Microsoft's implementation of Server Message Block (SMB) contains a buffer overflow vulnerability that could permit a remote attacker to execute arbitrary code or cause a denial of service.

Description

SMB and the Common Internet File System (CIFS) are closely related protocols used sharing data and resources between computers. According to Microsoft, "CIFS is an enhanced version of Microsoft's open, cross-platform Server Message Block (SMB) protocol." Windows uses this protocol to share files, printers, serial ports, and to communicate between computers using named pipes and mail slots.

Microsoft's implementation of SMB does not properly validate the size of incoming SMB packets. An remote attacker with valid credentials on the server could use this vulnerability to execute arbitrary code or cause a denial of service on a vulnerable system. For more information ,see Microsoft Security Bulletin MS03-024.

Impact

An authenticated remote attacker may be able to exploit this vulnerability to run arbitrary code on the system or cause a denial of service with the privileges of the vulnerable service.

Solution

Apply a patch from Microsoft as described in Microsoft Security Bulletin MS03-024.

If a patch can't be applied, or as a workaround until a patch can be applied, you can block ports TCP/139 and TCP/445 and UDP/139 and UDP/445 at your network perimeter. This will still leave you exposed to attacks inside your network. Additionally, you may wish to block these ports using a host-based firewall, such as Microsoft's Internet Connection Firewall (ICF) or a similar product available from a number of vendors.

Vendor Information

337764
 

Microsoft Corporation Affected

Notified:  July 09, 2003 Updated: October 06, 2003

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

See http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS03-024.asp

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to Microsoft Corporation for reporting this vulnerability. Microsoft has credited Jeremy Allison and Andrew Tridgell of the Samba Team for discovering these vulnerabilities.

This document was written by Stacey Stewart.

Other Information

CVE IDs: CVE-2003-0345
Severity Metric: 25.31
Date Public: 2003-07-09
Date First Published: 2003-10-10
Date Last Updated: 2003-10-10 15:32 UTC
Document Revision: 20

Sponsored by CISA.