Microsoft KB Archive/287912

= MS01-031: Predictable Named Pipes Could Enable Privilege Elevation with Telnet =

Article ID: 287912

Article Last Modified on 1/31/2007

-

APPLIES TO


 * 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 2
 * Microsoft Windows 2000 Service Pack 1

-



This article was previously published under Q287912



SYMPTOMS
Two privilege-elevation vulnerabilities exist in the Windows 2000 Telnet service that could enable an attacker to gain full control over an affected server, and enable the attacker to take any action on the server.

When a new Telnet session is established, the service creates a named pipe and runs any code that is associated with the named pipe as part of the initialization process. However, the pipe's name is predictable, and if Telnet finds an existing pipe with that name, it uses the existing pipe. An attacker who had the ability to load and run code on the server could create the pipe and associate a program with it; the Telnet service would run the code in the Local System context when it established the next Telnet session.

Mitigating Factors

 * Because the attacker would need the ability to load and run code on the Telnet server, it is likely that these vulnerabilities could only be exploited by an attacker who had the ability to run code locally on the Telnet server.
 * Administrative privileges are necessary to start the Telnet service, so the attacker could only exploit the vulnerability if Telnet were already started on the computer.



RESOLUTION
To resolve this problem, either obtain Windows 2000 Service Pack 3 or Windows 2000 Security Rollup Package 1 (SRP1). 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

For additional information about SRP1, click the article number below to view the article in the Microsoft Knowledge Base:

311401 Windows 2000 Security Rollup Package 1 (SRP1), January 2002

The following file is available for download from the Microsoft Download Center:

Download Q299553_w2k_sp3_x86_en.exe now

Release Date: Thursday, June 7, 2001

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 version of this fix should have the following file attributes or later:   Date        Time    Version      Size     File name -  05/24/2001  04:14p  5.0.33667.1  186,128  Tlntsvr.exe



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



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

For additional information about what is fixed by this patch, click the article number below to view the article in the Microsoft Knowledge Base:

300855 Windows 2000 Telnet Security Rollup

For more information about this vulnerability, see the following Microsoft Web site:

http://www.microsoft.com/technet/security/bulletin/MS01-031.mspx

Additional query words: security_patch kbWin2000srp1

Keywords: kbbug kbfix kbwin2000presp3fix kbsecvulnerability kbwin2000sp3fix kbsecurity kbsechack KB287912

-

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

© Microsoft Corporation. All rights reserved.