Rapid7 Vulnerability & Exploit Database

MS05-017 Microsoft Message Queueing Service Path Overflow

Back to Search

MS05-017 Microsoft Message Queueing Service Path Overflow

Disclosed
04/12/2005
Created
05/30/2018

Description

This module exploits a stack buffer overflow in the RPC interface to the Microsoft Message Queueing service. The offset to the return address changes based on the length of the system hostname, so this must be provided via the 'HNAME' option. Much thanks to snort.org and Jean-Baptiste Marchand's excellent MSRPC website.

Author(s)

  • hdm <x@hdm.io>

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

;