Rapid7 Vulnerability & Exploit Database

HP OmniInet.exe Opcode 20 Buffer Overflow

Back to Search

HP OmniInet.exe Opcode 20 Buffer Overflow



This module exploits a vulnerability found in HP Data Protector's OmniInet process. By supplying a long string of data as the file path with opcode '20', a buffer overflow can occur when this data is being written on the stack where no proper bounds checking is done beforehand, which results arbitrary code execution under the context of SYSTEM. This module is also made against systems such as Windows Server 2003 or Windows Server 2008 that have DEP and/or ASLR enabled by default.


  • Oren Isacson
  • muts
  • dookie
  • sinn3r <sinn3r@metasploit.com>
  • corelanc0d3r <peter.ve@corelan.be>




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