Rapid7 Vulnerability & Exploit Database

HP Data Protector DtbClsLogin Buffer Overflow

Back to Search

HP Data Protector DtbClsLogin Buffer Overflow



This module exploits a stack buffer overflow in HP Data Protector 4.0 SP1. The overflow occurs during the login process, in the DtbClsLogin function provided by the dpwindtb.dll component, where the Utf8Cpy (strcpy like function) is used in an insecure way with the username. A 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.


  • AbdulAziz Hariri
  • juan vazquez <juan.vazquez@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_dataprotector_dtbclslogin
msf exploit(hp_dataprotector_dtbclslogin) > show targets
msf exploit(hp_dataprotector_dtbclslogin) > set TARGET < target-id >
msf exploit(hp_dataprotector_dtbclslogin) > show options
    ...show and set options...
msf exploit(hp_dataprotector_dtbclslogin) > 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