Rapid7 Vulnerability & Exploit Database

MS04-031 Microsoft NetDDE Service Overflow

Back to Search

MS04-031 Microsoft NetDDE Service Overflow

Disclosed
10/12/2004
Created
05/30/2018

Description

This module exploits a stack buffer overflow in the NetDDE service, which is the precursor to the DCOM interface. This exploit effects only operating systems released prior to Windows XP SP1 (2000 SP4, XP SP0). Despite Microsoft's claim that this vulnerability can be exploited without authentication, the NDDEAPI pipe is only accessible after successful authentication.

Author(s)

  • pusscat <pusscat@metasploit.com>

Platform

Windows

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/smb/ms04_031_netdde
msf exploit(ms04_031_netdde) > show targets
    ...targets...
msf exploit(ms04_031_netdde) > set TARGET < target-id >
msf exploit(ms04_031_netdde) > show options
    ...show and set options...
msf exploit(ms04_031_netdde) > 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

;