MS02-029: Unchecked buffer in Remote Access Service phonebook allows code to run

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
Symptoms
A privilege-elevation vulnerability exists in the Remote Access Service phonebook. This vulnerability might allow an attacker who successfully exploits the vulnerability to gain complete control over the computer. The attacker can then take any action on the computer such as adding, deleting, or modifying data; creating or deleting user accounts; or adding accounts to the local Administrators group.

This vulnerability can be exploited only by an attacker who has credentials to log on to the computer on which the Remote Access service phonebook is located. Best practices suggest that unprivileged users not be permitted to interactively log on to business-critical servers. If you follow this guideline, such servers are not at risk from this vulnerability.
Cause
This vulnerability is caused by an unchecked buffer in the Remote Access Service phonebook. By creating a specially malformed phonebook entry, an attacker might be able to conduct a buffer-overrun attack against an affected computer.
Resolution

Windows XP

To resolve this problem, obtain the latest service pack for Windows XP. For more 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

Download Information

The following file is available for download from the Microsoft Download Center:
Release Date: June 12, 2002

For more 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 prevent any unauthorized changes to the file.

Installation Options

You must restart your computer after you apply this update. This update supports the following Setup switches:
-?Displays the list of installation switches
-uUnattended mode
-fForce other programs to quit when the computer shuts down
-nDo not back up files for uninstallation
-oOverwrite OEM files without prompting
-zDo not restart when the installation is complete
-qQuiet mode (no user interaction)
-lList installed hotfixes
-xExtracts the files without running Setup
For example, the following command line installs the update without any user intervention and then does not force the computer to restart:
q318138_wxp_sp1_x86_enu -u -q -z
Warning Your computer is vulnerable until you restart it.

File Information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date         Time   Version      Size     File name and path------------------------------------------------------------------------12-Feb-2002  22:14  5.1.2600.28  218,112  %Windir%\System32\Rasapi32.dll12-Feb-2002  22:14  5.1.2600.28  630,784  %Windir%\System32\Rasdlg.dll12-Feb-2002  22:14  5.1.2600.28   13,824  %Windir%\System32\Rassapi.dll
Note Because of file dependencies, this update may contain additional files.

Windows XP 64-Bit Edition

To resolve this problem, obtain the latest service pack for Windows XP. For more 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

Download Information

The following file is available for download from the Microsoft Download Center:
Release Date: June 12, 2002

For more 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 prevent any unauthorized changes to the file.

Installation Options

You must restart your computer after you apply this update. This update supports the following setup switches:
-?Displays the list of installation switches
-uUnattended mode
-fForce other programs to quit when the computer shuts down
-nDo not back up files for uninstallation
-oOverwrite OEM files without prompting
-zDo not restart when installation is complete
-qQuiet mode (no user interaction)
-lList installed hotfixes
-xExtracts the files without running Setup
For example, the following command line installs the update without any user intervention and then does not force the computer to restart:
q318138_wxp_sp1_ia64_enu -u -q -z
Warning Your computer is vulnerable until you restart it.

File Information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date         Time   Version      Size       File name and path---------------------------------------------------------------------------12-Feb-2002  22:14  5.1.2600.28    698,368  %Windir%\SysWOW64\Rasapi32.dll12-Feb-2002  22:14  5.1.2600.28  1,480,704  %Windir%\SysWOW64\Rasdlg.dll12-Feb-2002  22:14  5.1.2600.28     40,448  %Windir%\SysWOW64\Rassapi.dll12-Feb-2002  22:14  5.1.2600.28    218,112  %Windir%\SysWOW64\Wrasapi32.dll12-Feb-2002  22:14  5.1.2600.28    630,784  %Windir%\SysWOW64\Wrasdlg.dll12-Feb-2002  22:14  5.1.2600.28     13,824  %Windir%\SysWOW64\Wrassapi.dll
Note Because of file dependencies, this update may contain additional files.

Windows 2000

Note Microsoft has identified an issue with the Windows 2000 version of this update that can prevent VPN connections from being made by non-administrators after you apply the update. This article will be updated when an updated patch is available. For additional information about this issue, click the article number below to view the article in the Microsoft Knowledge Base:
324908 VPN Connections May Require Administrator Permissions After You Apply MS02-029 (Q318138)
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 theMicrosoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack

Download Information

The following file is available for download from the Microsoft Download Center:
Release Date: June 12, 2002

For more 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 prevent any unauthorized changes to the file.

Installation Options

You must restart your computer after you apply this update. For additional information about command-line switches to install or remove this patch, click the article number below to view the article in the Microsoft Knowledge Base:
262841 Windows 2000 Hotfix.exe Program Description and Command-Line Switches
For example, the following command line installs the update without any user intervention and then does not force the computer to restart:
q318138_w2k_sp3_x86_en /q /m /z
Warning Your computer is vulnerable until you restart it.

File Information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
 Date         Time   Version        Size     File name and path -------------------------------------------------------------------------- 02-Mar-2002  17:44  5.0.2195.4983  194,320  %Windir%\System32\Rasapi32.dll 02-Mar-2002  17:44  5.0.2195.4983  528,144  %Windir%\System32\Rasdlg.dll 02-Mar-2002  17:44  5.0.2195.4983   58,128  %Windir%\System32\Rasman.dll 02-Mar-2002  17:44  5.0.2195.4983  152,848  %Windir%\System32\Rasmans.dll 02-Mar-2002  17:44  5.0.2195.4983   14,608  %Windir%\System32\Rassapi.dll 02-Mar-2002  17:44  5.0.2195.4983   54,032  %Windir%\System32\Rastapi.dll
Note Because of file dependencies, this update may contain additional files. This update requires Windows 2000 Service Pack 2 (SP2) or Service Pack 1 (SP1).

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: 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.

Download Information

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

DownloadEnglish Language Version

DownloadArabic Language Version

DownloadChinese (Hong Kong) Language Version

DownloadChinese (Simplified) Language Version

DownloadChinese (Traditional) Language Version

DownloadCzech Language Version

DownloadDanish Language Version

DownloadDutch Language Version

DownloadFinnish Language Version

DownloadFrench Language Version

DownloadGerman Language Version

DownloadHebrew Language Version

DownloadHungarian Language Version

DownloadItalian Language Version

DownloadJapanese Language Version

DownloadJapanese NEC Language Version

DownloadKorean Language Version

DownloadNorwegian Language Version

DownloadPolish Language Version

DownloadPortuguese (Brazilian) Language Version

DownloadRussian Language Version

DownloadSpanish Language Version

DownloadSwedish Language Version

DownloadThai Language Version

Release Date: June 12, 2002

For more 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 prevent any unauthorized changes to the file.

Installation Options

You must restart your computer after you apply this update. For additional information about the switches that you can use to apply this update, click the article number below to view the article in the Microsoft Knowledge Base:
184305 How to Install and Remove Hotfixes with Hotfix.exe
For example, the following command line installs the update without any user intervention and then does not force the computer to restart:
q318138i /q /m /z
Warning Your computer is vulnerable until you restart it.

File Information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Remote Access Service files:
Date         Time   Version        Size     File name and path--------------------------------------------------------------------------07-Mar-2002  14:53  4.0.1381.7140  128,784  %Windir%\System32\Rasapi32.dll07-Mar-2002  14:53  4.0.1381.7140  153,872  %Windir%\System32\Rascfg.dll07-Mar-2002  14:53  4.0.1381.7140  348,432  %Windir%\System32\Rasdlg.dll07-Mar-2002  14:53  4.0.1381.7140   12,560  %Windir%\System32\Rasfil32.dll07-Mar-2002  14:53  4.0.1381.7140   24,336  %Windir%\System32\Rassapi.dll
Note Because of dependencies, this update may contain additional files. This update requires Windows NT 4.0 Service Pack 6a (SP6a).

Windows NT Server 4.0, Terminal Server Edition

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: 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.

Download Information

The following file is available for download from the Microsoft Download Center:
If you use Routing and Remote Access Service (RRAS), download the following update:Release Date: June 12, 2002

For more 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 prevent any unauthorized changes to the file.

Installation Options

You must restart your computer after you apply this update. For additional information about the switches that you can use to apply this update, click the article number below to view the article in the Microsoft Knowledge Base:
184305 How to Install and Remove Hotfixes with Hotfix.exe
For example, the following command line installs the update without any user intervention and then does not force the computer to restart:
q318138i /q /m /z
Warning Your computer is vulnerable until you restart it.

File Information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Remote Access Service files:
Date         Time   Version         Size     File name and path---------------------------------------------------------------------------12-Mar-2002  19:18  4.0.1381.33533  128,784  %Windir%\System32\Rasapi32.dll12-Mar-2002  19:18  4.0.1381.33533  154,896  %Windir%\System32\Rascfg.dll12-Mar-2002  19:18  4.0.1381.33533  348,432  %Windir%\System32\Rasdlg.dll12-Mar-2002  19:17  4.0.1381.33533   12,560  %Windir%\System32\Rasfil32.dll12-Mar-2002  19:18  4.0.1381.33533   24,848  %Windir%\System32\Rassapi.dll 
RRAS files:
Date         Time   Version    Size     File name and path----------------------------------------------------------------------31-May-2002  17:27  4.1.1.101  131,856  %Windir%\System32\Rasapi32.dll31-May-2002  18:08  4.1.1.101  158,992  %Windir%\System32\Rascfg.dll31-May-2002  17:27  4.1.1.101  396,048  %Windir%\System32\Rasdlg.dll31-May-2002  17:25  4.1.1.101   12,560  %Windir%\System32\Rasfil32.dll31-May-2002  17:27  4.1.1.101   19,216  %Windir%\System32\Rassapi.dll
Note Because of file dependencies, this update may contain additional files. This update requires Windows NT Server 4.0, Terminal Server Edition, Service Pack 6 (SP6).
Status
Microsoft has confirmed that this problem may cause a degree of security vulnerability in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft Windows 2000 Service Pack 3 (SP3) and Microsoft Windows XP Service Pack 1 (SP1).
More information
For more information about this vulnerability, visit the following Microsoft Web site:
ras security_patch
Properties

Article ID: 318138 - Last Review: 01/12/2015 19:48:48 - Revision: 8.0

  • Microsoft Windows NT Server 4.0, Terminal Server Edition Service Pack 6
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix kbsecbulletin kbsechack kbsecurity kbsecvulnerability kbwin2000presp3fix kbwin2000sp3fix kbwinxpsp1fix KB318138
Feedback