SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#145134

Microsoft Windows Internet Naming Service (WINS) replication protocol contains a heap-based buffer overflow

Overview

A buffer overflow vulnerability in the Microsoft Windows Internet Naming Service (WINS) replication protocol may allow a remote attacker to execute arbitrary code or cause a denial-of-service condition.

I. Description

The Microsoft WINS service maps IP addresses to NETBIOS computer names. WINS servers share information via a server-to-server replication protocol that operates on TCP port 42. Connection information for replication peers is stored in a data structure called the association context. Insufficient validation of the buffer where the association context data structure is written allows a heap-based buffer overflow to occur. If a remote attacker supplies a specially crafted replication packet to a vulnerable WINS server, that attacker may be able to exploit the buffer overflow to write arbitrary data to WINS server process memory.

According to Microsoft Knowledge Base Article 890710:

    This security issue affects Microsoft Windows NT 4.0 Server, Microsoft Windows NT Server 4.0 Terminal Server Edition, Windows 2000 Server, and Windows Server 2003. Windows 2000 Professional, Windows XP and Windows Millennium Edition (ME) are not affected by this vulnerability.

    By default, WINS is not installed on Windows NT Server 4.0, Windows NT Server 4.0 Terminal Server Edition, Windows 2000 Server, or Windows Server 2003. By default, WINS is installed and running on Microsoft Small Business Server 2000 and Microsoft Windows Small Business Server 2003. By default, on all versions of Microsoft Small Business Server, the WINS component communication ports are blocked from the Internet, and WINS is available only on the local network.
In addition, since the replication only occurs between servers, only WINS servers are vulnerable. WINS clients are not affected by this vulnerability.

Please refer to Microsoft Security Bulletin MS04-045 for more information regarding this vulnerability and its remediation.

II. Impact

A remote attacker may be able to execute arbitrary code with SYSTEM privileges or cause a denial-of-service condition.

III. Solution

Apply Patch


Microsoft has released Microsoft Security Bulletin MS04-045 to address this issue.

Consider Workarounds in MS04-045

  • Removing the WINS service if it is not needed
  • Blocking TCP and UDP port 42
  • Using IPSec as a communication protocol between WINS servers
For more detailed information please see Microsoft Knowledge Base Article 890710 and Microsoft Security Bulletin MS04-045.

Systems Affected

VendorStatusDate NotifiedDate Updated
Microsoft CorporationVulnerable16-Dec-2004

References


http://www.immunitysec.com/downloads/instantanea.pdf
http://www.immunitysec.com/downloads/instantanea.sxw
http://support.microsoft.com/kb/890710
http://www.microsoft.com/technet/security/bulletin/MS04-045.mspx
http://xforce.iss.net/xforce/alerts/id/184
http://www.securityfocus.com/bid/11763

Credit

This vulnerability was reported by Nicolas Waisman.


Information regarding this vulnerability was provided by the CERT/CC staff, Immunity, Microsoft Knowledge Base Article 890710, and Microsoft Security Bulletin MS04-045.

This document was written by Jeff Gennari.

Other Information

Date Public:2004-11-26
Date First Published:2004-11-29
Date Last Updated:2004-12-17
CERT Advisory: 
CVE-ID(s):CAN-2004-1080
NVD-ID(s):CAN-2004-1080
US-CERT Technical Alerts: 
Metric:26.29
Document Revision:150

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

 
Page Corner Image
Copyright 2004 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader