{"uuid": "09397826-9e03-4378-8bfa-88af4362fafa", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2016-10108", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/wd_mycloud_unauthenticated_cmd_injection.rb", "content": "{\"aliases\": [], \"arch\": \"cmd, armle\", \"author\": [\"Erik Wynter\", \"Steven Campbell\", \"Remco Vermeulen\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits authentication bypass (CVE-2018-17153) and\\n          command injection (CVE-2016-10108) vulnerabilities in Western\\n          Digital MyCloud before 2.30.196 in order to achieve\\n          unauthenticated remote code execution as the root user.\\n\\n          The module first performs a check to see if the target is\\n          WD MyCloud. If so, it attempts to trigger an authentication\\n          bypass (CVE-2018-17153) via a crafted GET request to\\n          /cgi-bin/network_mgr.cgi. If the server responds as expected,\\n          the module assesses the vulnerability status by attempting to\\n          exploit a commend injection vulnerability (CVE-2016-10108) in\\n          order to print a random string via the echo command. This is\\n          done via a crafted POST request to /web/google_analytics.php.\\n\\n          If the server is vulnerable, the same command injection vector\\n          is leveraged to execute the payload.\\n\\n          This module has been successfully tested against Western Digital\\n          MyCloud version 2.30.183.\\n\\n          Note: based on the available disclosures, it seems that the\\n          command injection vector (CVE-2016-10108) might be exploitable\\n          without the authentication bypass (CVE-2018-17153) on versions\\n          before 2.21.126. The obtained results on 2.30.183 imply that\\n          the patch for CVE-2016-10108 did not actually remove the command\\n          injection vector, but only prevented unauthenticated access to it.\", \"disclosure_date\": \"2016-12-14\", \"fullname\": \"exploit/linux/http/wd_mycloud_unauthenticated_cmd_injection\", \"is_install_path\": true, \"mod_time\": \"2026-04-02 17:30:43 +0000\", \"name\": \"Western Digital MyCloud unauthenticated command injection\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"artifacts-on-disk\", \"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/wd_mycloud_unauthenticated_cmd_injection.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/http/wd_mycloud_unauthenticated_cmd_injection\", \"references\": [\"CVE-2016-10108\", \"CVE-2018-17153\", \"URL-https://www.securify.nl/advisory/authentication-bypass-vulnerability-in-western-digital-my-cloud-allows-escalation-to-admin-privileges/\", \"URL-https://web.archive.org/web/20170315123948/https://www.stevencampbell.info/2016/12/command-injection-in-western-digital-mycloud-nas/\"], \"rport\": 443, \"session_types\": false, \"targets\": [\"Unix In-Memory\", \"Linux Dropper\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:02.543918Z"}