Vulnerability & Exploit Database

Back to search

MS06-070 Microsoft Workstation Service NetpManageIPCConnect Overflow

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • jduck <jduck [at]>



  • Automatic Targetting
  • Windows 2000 SP4
  • Windows XP SP0/SP1


  • 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 and set options... msf exploit(ms06_070_wkssvc) > exploit

Related Vulnerabilities