Rapid7 Vulnerability & Exploit Database

HP OmniInet.exe MSG_PROTOCOL Buffer Overflow

Back to Search

HP OmniInet.exe MSG_PROTOCOL Buffer Overflow



This module exploits a stack-based buffer overflow in the Hewlett-Packard OmniInet NT Service. By sending a specially crafted MSG_PROTOCOL (0x010b) packet, a remote attacker may be able to execute arbitrary code with elevated privileges. This service is installed with HP OpenView Data Protector, HP Application Recovery Manager and potentially other products. This exploit has been tested against versions 6.1, 6.0, and 5.50 of Data Protector. and versions 6.0 and 6.1 of Application Recovery Manager. NOTE: There are actually two consecutive wcscpy() calls in the program (which may be why ZDI considered them two separate issues). However, this module only exploits the first one.


  • EgiX <n0b0d13s@gmail.com>
  • Fairuzan Roslan <riaf@mysec.org>
  • jduck <jduck@metasploit.com>




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