MS02-006: An Unchecked Buffer in the SNMP Service May Allow Code to Run

Article translations Article translations
Article ID: 314147 - View products that this article applies to.
This article was previously published under Q314147
Expand all | Collapse all

On This Page

Symptoms

If you install the Simple Network Management Protocol (SNMP) service and the service is running on your computer, a malicious user may be able to cause a denial-of-service attack on your computer and the malicious user may be able to run code on your computer.

NOTES:
  • The SNMP service is neither installed nor running by default in any version of Windows.
  • Standard firewall hardware and software products and practices recommend that you block the port over which SNMP runs (User Datagram Protocol [UDP] ports 161 and 162). If you use these practices or recommendations, this vulnerability may only occur if the malicious user and computer are on an intranet.
  • Standard security practices recommend that you do not use SNMP except on trusted networks because the SNMP protocol, by design, provides minimal security.

Cause

This vulnerability occurs because the component of the SNMP agent service that parses incoming commands contains an unchecked buffer. If a malicious user sends a specific request, the malicious user could cause a buffer overrun attack on the type of computer that is described in the "Symptoms" section in this article.

Resolution

NOTE: If you install or reinstall the SNMP service, you must reapply this update.

To resolve this vulnerability, view one of the following sections, depending on your operating system.

Windows XP Professional and Windows XP Home Edition

To resolve this problem, obtain the latest service pack for Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
322389 How to Obtain the Latest Windows XP Service Pack
The following file is available for download from the Microsoft Download Center:
Collapse this imageExpand this image
Download
Download the Q314147 package now
Release Date: February 15, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

The English-language version of this fix should have the following file attributes or later:

   Date         Time   Version      Size    File name
   ----------------------------------------------------
   12-Feb-2002  22:02  5.1.2600.28  29,696  Snmp.exe
   12-Feb-2002  22:03  5.1.2600.28  16,896  Snmpapi.dll
   02-Nov-2001  16:50  5.1.2600.17   3,584  Spmsg.dll
   12-Feb-2002  22:02  5.1.2600.28  39,424  Wsnmp32.dll

				

Windows 2000 Professional, Windows 2000 Server, and Windows 2000 Advanced Server

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
The following files are available for download from the Microsoft Download Center:
Collapse this imageExpand this image
Download
English

Collapse this imageExpand this image
Download
Arabic

Collapse this imageExpand this image
Download
Chinese (Simplified)

Collapse this imageExpand this image
Download
Chinese (Traditional)

Collapse this imageExpand this image
Download
Czech

Collapse this imageExpand this image
Download
Danish

Collapse this imageExpand this image
Download
Dutch

Collapse this imageExpand this image
Download
Finnish

Collapse this imageExpand this image
Download
French

Collapse this imageExpand this image
Download
German

Collapse this imageExpand this image
Download
Greek

Collapse this imageExpand this image
Download
Hebrew

Collapse this imageExpand this image
Download
Hungarian

Collapse this imageExpand this image
Download
Italian

Collapse this imageExpand this image
Download
Japanese

Collapse this imageExpand this image
Download
Japanese NEC

Collapse this imageExpand this image
Download
Korean

Collapse this imageExpand this image
Download
Norwegian

Collapse this imageExpand this image
Download
Polish

Collapse this imageExpand this image
Download
Portuguese (Brazilian)

Collapse this imageExpand this image
Download
Portuguese

Collapse this imageExpand this image
Download
Russian

Collapse this imageExpand this image
Download
Spanish

Collapse this imageExpand this image
Download
Swedish

Collapse this imageExpand this image
Download
Turkish

Release Date: February 15, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on secure servers that prevent any unauthorized changes to the file.

The English-language version of this fix should have the following file attributes or later:
   Date         Time   Version        Size    File name
   ------------------------------------------------------
   25-Jan-2002  13:02  5.0.2195.4874  90,384  Evntwin.exe
   09-Feb-2002  11:56  5.0.2195.4919  30,480  Snmp.exe
				

Windows NT 4.0

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that you determine are at risk of attack. Evaluate the computer's physical accessibility, network and Internet connectivity, and other factors to determine the degree of risk to the computer. See the associated Microsoft Security Bulletin to help determine the degree of risk. This hotfix may receive additional testing. If the computer is sufficiently at risk, we recommend that you apply this hotfix now.

To resolve this problem immediately, download the hotfix by following the instructions later in this article or contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled, if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The following file is available for download from the Microsoft Download Center:

Collapse this imageExpand this image
Download
English

Collapse this imageExpand this image
Download
Arabic

Collapse this imageExpand this image
Download
Chinese (Hong Kong)

Collapse this imageExpand this image
Download
Chinese (Simplified)

Collapse this imageExpand this image
Download
Chinese (Traditional)

Collapse this imageExpand this image
Download
Czech

Collapse this imageExpand this image
Download
Danish

Collapse this imageExpand this image
Download
Dutch

Collapse this imageExpand this image
Download
Finnish

Collapse this imageExpand this image
Download
French

Collapse this imageExpand this image
Download
German

Collapse this imageExpand this image
Download
Hebrew

Collapse this imageExpand this image
Download
Hungarian

Collapse this imageExpand this image
Download
Italian

Collapse this imageExpand this image
Download
Japanese

Collapse this imageExpand this image
Download
Japanese NEC

Collapse this imageExpand this image
Download
Korean

Collapse this imageExpand this image
Download
Norwegian

Collapse this imageExpand this image
Download
Polish

Collapse this imageExpand this image
Download
Portuguese (Brazilian)

Collapse this imageExpand this image
Download
Russian

Collapse this imageExpand this image
Download
Spanish

Collapse this imageExpand this image
Download
Swedish

Collapse this imageExpand this image
Download
Thai

Release Date: March 5, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on secure servers that prevent any unauthorized changes to the file.

The English-language version of this fix should have the following file attributes or later:
   GMT-UTC Date Time   Version        Size    File name
   -------------------------------------------------------
   25-Feb-2002  20:08  4.0.1381.7136  50,960  Inetmib1.dll     
   20-Feb-2002  16:18  4.0.1381.7134  17,680  Mgmtapi.dll      
   20-Feb-2002  16:19  4.0.1381.7134  18,192  Snmp.exe         
   20-Feb-2002  16:19  4.0.1381.7134  24,848  Snmpapi.dll      

   13-Feb-1999  00:02  4.0.1381.164   14,608  Snmpsfx.dll      
				
NOTE: While this patch may install on Windows NT 4.0 Service Pack 3 or Service Pack 5, due to file dependencies, this update requires and is only supported on Windows NT 4.0 Service Pack 6a.

Windows 98 Second Edition; Windows 98

http://download.microsoft.com/download/WIN98/UPDATE/23433/W98/EN-US/314147USA8.EXE

Workaround

The following file is available for download from the Microsoft Download Center:
Collapse this imageExpand this image
Download
Download the Windows 2000 and Windows XP Group Policy Object tool now
Release Date: Feb-15-2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on secure servers that prevent any unauthorized changes to the file.

NOTE: The Windows 2000 and Windows XP Group Policy Object tool is automatically installed in the location of the default domain Group Policy object (GPO), \\Volume\Domain\Policies\GPO_GUID\Machines\Scripts\Startup. For the installation to work correctly, you must install this tool on the domain controller. This tool applies a policy so that individual computers in the domain do not automatically start the SNMP service.

Status

Windows XP Professional and Windows XP Home Edition

Microsoft has confirmed that this problem may cause a degree of security vulnerability in Windows XP Professional and Windows XP Home Edition. This problem was first corrected in Windows XP Service Pack 1.

Windows 2000 Professional, Windows 2000 Server, and Windows 2000 Advanced Server

Microsoft has confirmed that this problem may cause a degree of security vulnerability in Windows 2000 Professional, Windows 2000 Server, and Windows 2000 Advanced Server. This problem was first corrected in Windows 2000 Service Pack 3.

Windows NT 4.0

Microsoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft Windows NT 4.0.

Windows 98 Second Edition

Microsoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft Windows 98 Second Edition.

Windows 98

Microsoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft Windows 98.

More information

For more information about this vulnerability, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/bulletin/MS02-006.mspx

Properties

Article ID: 314147 - Last Review: September 4, 2012 - Revision: 8.0
Applies to
  • Microsoft Windows NT Server 4.0, Terminal Server Edition Service Pack 6
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
Keywords: 
kbhotfixserver kbqfe kbdownload kbbug kbfix kbnetwork kbsecurity kbwin2000presp3fix kbwin2000sp3fix kbwinxpsp1fix KB314147

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com