Vulnerability Note VU#855811

Microsoft Remote Access Service API contains additional buffer overflow vulnerability via phonebook entries

Original Release date: 13 Jun 2002 | Last revised: 25 Jun 2002


The Microsoft Remote Access Service API contains a vulnerability that allows local attackers to execute arbitrary code with system privileges.


The Microsoft Remote Access Service (RAS) Application Programming Interface (API) allows Windows programs to make dial-up connections to remote servers. There is a buffer overflow in the RAS API that allows an attacker to execute arbitrary code with LocalSystem privileges. To exploit this vulnerability, the attacker must log into an account on the affected system and create a RAS phonebook entry. When any program attempts to use the RAS API to parse the malicious phonebook entry, the entry will cause a buffer overflow and allow the attacker to execute arbitrary code.

Once the malicious phonebook entry has been created, the attacker may exploit the vulnerability by initiating a remote connection. However, the attacker may also choose to delay exploitation and allow a different, unsuspecting user to exploit the vulnerability on the attacker's behalf. Since any attempt by the RAS API to parse the phonebook entry may trigger this vulnerability, the victim user need not even attempt to make a connection. The victim might trigger the vulnerability by simply viewing the properties of the crafted phonebook entry.

According to Microsoft Security Bulletin MS02-029, the following software is affected by this vulnerability:

  • Microsoft Windows NT 4.0
  • Microsoft Windows NT 4.0 Terminal Server Edition
  • Microsoft Windows 2000
  • Microsoft Windows XP
  • Microsoft Routing and Remote Access Server, which can be installed on Windows NT 4.0 Service Pack 6 or NT 4.0 Terminal Server Edition Service Pack 6.

This vulnerability is similar to VU#13121, which was first reported on May 19, 1999. For more details, please see


Attackers who are able to create malicious RAS phonebook entries can execute arbitrary code with LocalSystem privileges. In some cases, failed attempts to exploit this vulnerability will cause the affected host to crash.


Apply a patch from your vendor

Microsoft has released Security Bulletin MS02-029 to address this issue. For more detailed information and upgrade instructions, please see

Prevent users from accessing the Remote Access Service

For systems that do not require RAS, it may be possible to prevent exploitation of this vulnerability by uninstalling or disabling the Remote Access Service.

Prevent users from creating or modifying RAS phonebook entries

Attackers must be able to create or modify RAS phonebook entries to exploit this vulnerability. Therefore, it may be possible to utilize access control measures such as NTFS file permissions to prevent users from exploiting this vulnerability.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Microsoft CorporationAffected31 May 200213 Jun 2002
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



This vulnerability was discovered by Next Generation Security Software Ltd.

This document was written by Jeffrey P. Lanza and is based on information provided by Microsoft and Next Generation Security Software Ltd.

Other Information

  • CVE IDs: CAN-2002-0366
  • Date Public: 27 May 2002
  • Date First Published: 13 Jun 2002
  • Date Last Updated: 25 Jun 2002
  • Severity Metric: 16.87
  • Document Revision: 38


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