Rapid7 Vulnerability & Exploit Database

Western Digital MyCloud multi_uploadify File Upload Vulnerability

Back to Search

Western Digital MyCloud multi_uploadify File Upload Vulnerability

Disclosed
07/29/2017
Created
06/14/2018

Description

This module exploits a file upload vulnerability found in Western Digital's MyCloud NAS web administration HTTP service. The /web/jquery/uploader/multi_uploadify.php PHP script provides multipart upload functionality that is accessible without authentication and can be used to place a file anywhere on the device's file system. This allows an attacker the ability to upload a PHP shell onto the device and obtain arbitrary code execution as root.

Author(s)

  • Zenofex <zenofex@exploitee.rs>

Platform

PHP

Architectures

php

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/linux/http/wd_mycloud_multiupload_upload
msf exploit(wd_mycloud_multiupload_upload) > show targets
    ...targets...
msf exploit(wd_mycloud_multiupload_upload) > set TARGET < target-id >
msf exploit(wd_mycloud_multiupload_upload) > show options
    ...show and set options...
msf exploit(wd_mycloud_multiupload_upload) > 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

;