Western Digital MyCloud multi_uploadify File Upload Vulnerability
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.
- Zenofex <zenofex [at] exploitee.rs>
- Automatic Targeting
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