Rapid7

module

MS06-070 Microsoft Workstation Service NetpManageIPCConnect Overflow

Disclosed
Nov 14, 2006
Created
May 30, 2018

Description

This module exploits a stack buffer overflow in the NetApi32 NetpManageIPCConnect
function using the Workstation service in Windows 2000 SP4 and Windows XP SP2.

In order to exploit this vulnerability, you must specify the name of a
valid Windows DOMAIN. It may be possible to satisfy this condition by using
a custom DNS and LDAP setup, however that method is not covered here.

Although Windows XP SP2 is vulnerable, Microsoft reports that Administrator
credentials are required to reach the vulnerable code. Windows XP SP1 only
requires valid user credentials. Also, testing shows that a machine already
joined to a domain is not exploitable.

Author

Platform

Windows

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