Vulnerability Note VU#337764

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

Original Release date: 10 Oct 2003 | Last revised: 10 Oct 2003

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.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Microsoft CorporationAffected09 Jul 200306 Oct 2003
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

Credit

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: CAN-2003-0345
  • Date Public: 09 Jul 2003
  • Date First Published: 10 Oct 2003
  • Date Last Updated: 10 Oct 2003
  • Severity Metric: 25.31
  • Document Revision: 19

Feedback

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