Rapid7 Vulnerability & Exploit Database

Western Digital Arkeia Remote Code Execution

Back to Search

Western Digital Arkeia Remote Code Execution

Disclosed
07/10/2015
Created
05/30/2018

Description

This module exploits a code execution flaw in Western Digital Arkeia version 11.0.12 and below. The vulnerability exists in the 'arkeiad' daemon listening on TCP port 617. Because there are insufficient checks on the authentication of all clients, this can be bypassed. Using the ARKFS_EXEC_CMD operation it's possible to execute arbitrary commands with root or SYSTEM privileges. The daemon is installed on both the Arkeia server as well on all the backup clients. The module has been successfully tested on Windows, Linux, OSX, FreeBSD and OpenBSD.

Author(s)

  • xistence <xistence@0x90.nl>

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

;