Rapid7 Vulnerability & Exploit Database

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

Back to Search

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

Disclosed
11/02/2002
Created
05/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(s)

  • aushack <patrick@osisecurity.com.au>

Platform

Windows

Architectures

x86

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;