Trustwave SpiderLabs Security Advisory TWSL2018-001: Multiple Vulnerabilities in WD My Cloud personal cloud storage Published: 02/14/2018 Version: 1.0 Vendor: Western Digital (www.wdc.com) Product: My Cloud Version affected: prior to 2.30.172 Product description: Reliable, centralized personal storage with automatic backup that plugs into your own home network. Share whatever you want, anywhere you have an Internet connection. Finding 1: Hardcoded administrator credentials in the nas_sharing.cgi binary *****Credit: Martin Rakhmanov CVE: CVE-2017-18182 CGI binary nas_sharing.cgi hardcodes username and password for administrative user. This allows complete authorization bypass. Specific account name used is "mydlinkBRionyg". Finding 2: Arbitrary file deletion via the nas_sharing.cgi binary *****Credit: Martin Rakhmanov CVE: CVE-2017-18181 CGI binary nas_sharing.cgi allows any user to delete any file from the device. Specific parameter name is "path". Finding 3: Arbitrary shell command execution via the nas_sharing.cgi binary *****Credit: Martin Rakhmanov CVE: CVE-2017-18180 CGI binary nas_sharing.cgi allows any user execute shell commands as root. To exploit this issue the "artist" parameter should be used. Remediation Steps: Upgrade WD My Cloud devices to firmware 2.30.172 or the latest available. Affected models include My Cloud Gen 2, My Cloud PR2100, My Cloud PR4100, My Cloud EX2 Ultra, My Cloud EX2, My Cloud EX4, My Cloud EX2100, My Cloud EX4100, My Cloud DL2100 and My Cloud DL4100. Please note that Trustwave SpiderLabs have not verified this fix. Revision History: 05/24/2017 - Vulnerabilities disclosed to WDC PSIRT team 11/16/2017 - Patch released by vendor 02/01/2018 - v1.0 Advisory published 02/14/2018 - v1.1 Advisory published (added Common Vulnerabilities and Exposures Identifiers) References 1. https://support.wdc.com/download/notes/WD_My_Cloud_Firmware_Release_Notes_2.30.181.pdf?v=768 About Trustwave Trustwave helps businesses fight cybercrime, protect data and reduce security risk. With cloud and managed security services, integrated technologies and a team of security experts, ethical hackers and researchers, Trustwave enables businesses to transform the way they manage their information security and compliance programs. More than three million businesses are enrolled in the Trustwave TrustKeeper® cloud platform, through which Trustwave delivers automated, efficient and cost-effective threat, vulnerability and compliance management. Trustwave is headquartered in Chicago, with customers in 96 countries. For more information about Trustwave, visit https://www.trustwave.com. About Trustwave SpiderLabs: SpiderLabs(R) is the advanced security team at Trustwave focused on application security, incident response, penetration testing, physical security and security research. The team has performed over a thousand incident investigations, thousands of penetration tests and hundreds of application security tests globally. In addition, the SpiderLabs Research team provides intelligence through bleeding-edge research and proof of concept tool development to enhance Trustwave's products and services. https://www.trustwave.com/spiderlabs Disclaimer: The information provided in this advisory is provided "as is" without warranty of any kind. Trustwave disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Trustwave or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Trustwave or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.