Rapid7 Vulnerability & Exploit Database

MS05-039 Microsoft Plug and Play Service Overflow

Back to Search

MS05-039 Microsoft Plug and Play Service Overflow

Disclosed
08/09/2005
Created
05/30/2018

Description

This module exploits a stack buffer overflow in the Windows Plug and Play service. This vulnerability can be exploited on Windows 2000 without a valid user account. NOTE: Since the PnP service runs inside the service.exe process, a failed exploit attempt will cause the system to automatically reboot.

Author(s)

  • hdm <x@hdm.io>
  • cazz <bmc@shmoo.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/ms05_039_pnp
msf exploit(ms05_039_pnp) > show targets
    ...targets...
msf exploit(ms05_039_pnp) > set TARGET < target-id >
msf exploit(ms05_039_pnp) > show options
    ...show and set options...
msf exploit(ms05_039_pnp) > 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

;