Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

MS02-065 Microsoft IIS MDAC msadcs.dll RDS DataStub Content-Type Overflow

Disclosed
Nov 2, 2002
Created
May 30, 2018

Description

This module can be used to execute arbitrary code on IIS servers
that expose the /msadc/msadcs.dll Microsoft Data Access Components
(MDAC) Remote Data Service (RDS) DataFactory service. The service is
exploitable even when RDS is configured to deny remote connections
(handsafe.reg). The service is vulnerable to a heap overflow where
the RDS DataStub 'Content-Type' string is overly long. Microsoft Data
Access Components (MDAC) 2.1 through 2.6 are known to be vulnerable.

Author

Platform

Windows

Architectures

x86

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/iis/ms02_065_msadc
msf exploit(ms02_065_msadc) > show targets
...targets...
msf exploit(ms02_065_msadc) > set TARGET < target-id >
msf exploit(ms02_065_msadc) > show options
...show and set options...
msf exploit(ms02_065_msadc) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.