Microsoft KB Archive/314147

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

Article ID: 314147

Article Last Modified on 3/29/2007

-

APPLIES TO


 * Microsoft Windows NT Server 4.0, Terminal Server Edition Service Pack 4
 * Microsoft Windows NT Server 4.0, Terminal Server Edition Service Pack 5
 * Microsoft Windows NT Server 4.0, Terminal Server Edition Service Pack 6
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT 4.0 Service Pack 1
 * Microsoft Windows NT 4.0 Service Pack 2
 * Microsoft Windows NT 4.0 Service Pack 3
 * Microsoft Windows NT 4.0 Service Pack 4
 * Microsoft Windows NT 4.0 Service Pack 5
 * Microsoft Windows NT 4.0 Service Pack 6a
 * Microsoft Windows NT Server 4.0 Enterprise Edition
 * Microsoft Windows NT 4.0 Service Pack 4
 * Microsoft Windows NT 4.0 Service Pack 5
 * Microsoft Windows NT 4.0 Service Pack 6a
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Workstation 4.0
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q314147



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 &quot;Symptoms&quot; 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:

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:

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:

English

Arabic

Chinese (Simplified)

Chinese (Traditional)

Czech

Danish

Dutch

Finnish

French

German

Greek

Hebrew

Hungarian

Italian

Japanese

Japanese NEC

Korean

Norwegian

Polish

Portuguese (Brazilian)

Portuguese

Russian

Spanish

Swedish

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:

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:

English

Arabic

Chinese (Hong Kong)

Chinese (Simplified)

Chinese (Traditional)

Czech

Danish

Dutch

Finnish

French

German

Hebrew

Hungarian

Italian

Japanese

Japanese NEC

Korean

Norwegian

Polish

Portuguese (Brazilian)

Russian

Spanish

Swedish

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:

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 NT Server 4.0, Terminal Server Edition
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that you determine are at risk of attack. Evaluate your computer's physical accessibility, network and Internet connectivity, and other factors to determine the degree of risk to your computer. See the associated Microsoft Security Bulletin to help determine the degree of risk. This fix may receive additional testing. If your computer is sufficiently at risk, Microsoft recommends that you apply this fix now.

To resolve this problem immediately, download the fix by clicking the download link later in this article or contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, please visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

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:

Download the Q314147 package now

Release Date: March 14, 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.

On March 14, 2002, Microsoft discovered that the March 11, 2002, versions of the English and German patches for Windows NT Server 4.0, Terminal Server Edition, contained incorrect files. Microsoft has corrected this error and has posted updated versions of this patch for the English and German languages. Microsoft recommends that customers who downloaded the Windows NT Server 4.0, Terminal Server Edition, patch in English or German before March 14, 2002, install the updated version of the patch. Customers who installed the Windows NT Server 4.0, Terminal Server Edition, patches in any language other than English or German do not have to take any action; these patches do not contain the error.

The English-language version of this fix should have the following file attributes or later: NOTE: While this patch may install on Windows NT Server 4.0, Terminal Server Edition Service Pack 3 or Service Pack 5, due to file dependencies, this update requires and is only supported on Windows NT Server 4.0, Terminal Server Edition Service Pack 6.

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:

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), \\ \Domain\Policies\ \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.



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 NT Server 4.0, Terminal Server Edition
Microsoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft Windows NT Server 4.0, Terminal Server Edition.

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

Additional query words: kbNetworking security_patch kbsecvulnerability kbsechack kbsecbulletin kbsecdos

Keywords: kbdownload kbbug kbfix kbwin2000presp3fix kbqfe kbwin2000sp3fix kbnetwork kbsecurity kbwinxpsp1fix kbhotfixserver KB314147

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.