Rapid7 Vulnerability & Exploit Database

Druva inSync inSyncCPHwnet64.exe RPC Type 5 Privilege Escalation

Back to Search

Druva inSync inSyncCPHwnet64.exe RPC Type 5 Privilege Escalation

Disclosed
02/25/2020
Created
05/13/2020

Description

Druva inSync client for Windows exposes a network service on TCP port 6064 on the local network interface. inSync versions 6.6.3 and prior do not properly validate user-supplied program paths in RPC type 5 messages, allowing execution of arbitrary commands as SYSTEM. This module has been tested successfully on inSync versions 6.5.2r99097 and 6.6.3r102156 on Windows 7 SP1 (x64).

Author(s)

  • Chris Lyne
  • Matteo Malvica
  • bcoles <bcoles@gmail.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/local/druva_insync_insynccphwnet64_rcp_type_5_priv_esc
msf exploit(druva_insync_insynccphwnet64_rcp_type_5_priv_esc) > show targets
    ...targets...
msf exploit(druva_insync_insynccphwnet64_rcp_type_5_priv_esc) > set TARGET < target-id >
msf exploit(druva_insync_insynccphwnet64_rcp_type_5_priv_esc) > show options
    ...show and set options...
msf exploit(druva_insync_insynccphwnet64_rcp_type_5_priv_esc) > 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

;