search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Microsoft Windows RPC vulnerable to buffer overflow

Vulnerability Note VU#568148

Original Release Date: 2003-07-17 | Last Revised: 2007-12-19

Overview

A buffer overflow vulnerability exists in Microsoft's Remote Procedure Call (RPC) implementation. A remote attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service. An exploit for this vulnerability is publicly available.

Description

Microsoft describes their implementation of the RPC protocol as, "a protocol used by the Windows operating system. RPC provides an inter-process communication mechanism that allows a program running on one computer to seamlessly execute code on a remote system. The protocol itself is derived from the Open Software Foundation (OSF) RPC protocol, but with the addition of some Microsoft specific extensions."

A buffer overflow has been discovered in Microsoft's RPC implementation. Quoting from Microsoft Security Bulletin MS03-026:
There is a vulnerability in the part of RPC that deals with message exchange over TCP/IP. The failure results because of incorrect handling of malformed messages. This particular vulnerability affects a Distributed Component Object Model (DCOM) interface with RPC, which listens on TCP/IP port 135. This interface handles DCOM object activation requests that are sent by client machines (such as Universal Naming Convention (UNC) paths) to the server.
For further technical information about this vulnerability, please see Microsoft Security Bulletin MS03-026.

Impact

A remote attacker could exploit this vulnerability to execute arbitrary code with System Privileges or cause a denial of service.

Solution

Apply Patch
Apply a patch as described in Microsoft Security Bulletin MS03-026. Please also note that Microsoft is actively deploying the patches for this vulnerability via Windows Update.


Restrict Access

You may wish to block access to from outside your network perimeter, specifically by blocking access to TCP ports 135, 139, 445, 593 and UDP ports 135, 137, 138, and 445. You maye also wish to disable Com Internet Services and RPC over HTTP. This will limit your exposure to attacks. However, blocking at the network perimeter would still allow attackers within the perimeter of your network to exploit the vulnerability. It is important to understand your network's configuration and service requirements before deciding what changes are appropriate.

Disable DCOM

Depending on site requirements, you may wish to disable DCOM as described in MS03-026. Disabling DCOM will help protect against this vulnerability, but may also cause undesirable side effects. Additional details on disabling DCOM and possible side effects are available in Microsoft Knowledge Base Article 825750.

Vendor Information

568148
 

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was discovered by The Last Stage of Delirium Research Group. Microsoft has published Microsoft Security Bulletin MS03-026 to address this vulnerability.

This document was written by Ian A Finlay and Damon G. Morda.

Other Information

CVE IDs: CVE-2003-0352
CERT Advisory: CA-2003-16
Severity Metric: 78.75
Date Public: 2003-07-16
Date First Published: 2003-07-17
Date Last Updated: 2007-12-19 15:59 UTC
Document Revision: 27

Sponsored by CISA.