Rapid7 Vulnerability & Exploit Database

HP Data Protector Create New Folder Buffer Overflow

Back to Search

HP Data Protector Create New Folder Buffer Overflow

Disclosed
03/12/2012
Created
05/30/2018

Description

This module exploits a stack buffer overflow in HP Data Protector 5. The overflow occurs in the creation of new folders, where the name of the folder is handled in a insecure way by the dpwindtb.dll component. While the overflow occurs in the stack, the folder name is split in fragments in this insecure copy. Because of this, this module uses egg hunting to search a non corrupted copy of the payload in the heap. On the other hand the overflowed buffer is stored in a frame protected by stack cookies, because of this SEH handler overwrite is used. Any user of HP Data Protector Express is able to create new folders and trigger the vulnerability. Moreover, in the default installation the 'Admin' user has an empty password. Successful exploitation will lead to code execution with the privileges of the "dpwinsdr.exe" (HP Data Protector Express Domain Server Service) process, which runs as SYSTEM by default.

Author(s)

  • juan vazquez <juan.vazquez@metasploit.com>
  • sinn3r <sinn3r@metasploit.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/misc/hp_dataprotector_new_folder
msf exploit(hp_dataprotector_new_folder) > show targets
    ...targets...
msf exploit(hp_dataprotector_new_folder) > set TARGET < target-id >
msf exploit(hp_dataprotector_new_folder) > show options
    ...show and set options...
msf exploit(hp_dataprotector_new_folder) > 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

;