Vulnerability Note VU#13121

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

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

Overview

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

Description

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 MS99-016, this vulnerability affects Microsoft Windows NT 4.0.

Impact

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.

Solution

Apply a patch from your vendor


Microsoft has released Security Bulletin MS99-016 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 CorporationAffected-13 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

References

Credit

This vulnerability was discovered by Mnemonix (aka David Litchfield).

This document was written by Jeffrey P. Lanza and is based on information provided by Microsoft and David Litchfield.

Other Information

  • CVE IDs: CVE-1999-0715
  • Date Public: 19 May 99
  • Date First Published: 13 Jun 2002
  • Date Last Updated: 25 Jun 2002
  • Severity Metric: 16.87
  • Document Revision: 21

Feedback

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