CVE-2018-17153

CRITICAL NUCLEI

Western Digital My Cloud <2.30.196 - Auth Bypass

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-17153. PoCs published by Erik Wynter, Steven Campbell, Remco Vermeulen, including Metasploit module exploits/linux/http/wd_mycloud_unauthenticated_cmd_injection. A Nuclei detection template is also available.

AI-analyzed exploit summary This Metasploit module exploits an authentication bypass (CVE-2018-17153) and command injection (CVE-2016-10108) in Western Digital MyCloud to achieve unauthenticated remote code execution as root. It first checks for vulnerability by executing an echo command and then delivers the payload if the target is vulnerable.

Description

It was discovered that the Western Digital My Cloud device before 2.30.196 is affected by an authentication bypass vulnerability. An unauthenticated attacker can exploit this vulnerability to authenticate as an admin user without needing to provide a password, thereby gaining full control of the device. (Whenever an admin logs into My Cloud, a server-side session is created that is bound to the user's IP address. After the session is created, it is possible to call authenticated CGI modules by sending the cookie username=admin in the HTTP request. The invoked CGI will check if a valid session is present and bound to the user's IP address.) It was found that it is possible for an unauthenticated attacker to create a valid session without a login. The network_mgr.cgi CGI module contains a command called "cgi_get_ipv6" that starts an admin session -- tied to the IP address of the user making the request -- if the additional parameter "flag" with the value "1" is provided. Subsequent invocation of commands that would normally require admin privileges now succeed if an attacker sets the username=admin cookie.

Exploits (1)

metasploit WORKING POC EXCELLENT
by Erik Wynter, Steven Campbell, Remco Vermeulen · rubypoclinux
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/wd_mycloud_unauthenticated_cmd_injection.rb

This Metasploit module exploits an authentication bypass (CVE-2018-17153) and command injection (CVE-2016-10108) in Western Digital MyCloud to achieve unauthenticated remote code execution as root. It first checks for vulnerability by executing an echo command and then delivers the payload if the target is vulnerable.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Western Digital MyCloud before 2.30.196
No auth needed
Prerequisites: Network access to the target device
devstral-2 · analyzed Jun 05, 2026 Full analysis →

Nuclei Templates (1)

Western Digital MyCloud NAS - Authentication Bypass
CRITICALVERIFIEDby DhiyaneshDk
Shodan: http.favicon.hash:-1074357885
FOFA: icon_hash=-1074357885

Scores

CVSS v3 9.8
EPSS 0.8659
EPSS Percentile 99.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-287
Status published
Products (12)
western_digital/my_cloud_dl2100 < 2.30.196
western_digital/my_cloud_dl4100_firmware < 2.30.196
western_digital/my_cloud_ex2100_firmware < 2.30.196
western_digital/my_cloud_ex2_firmware < 2.30.196
western_digital/my_cloud_ex2_ultra_firmware < 2.30.196
western_digital/my_cloud_ex4100 < 2.30.196
western_digital/my_cloud_ex4_firmware < 2.30.196
western_digital/my_cloud_mirror_firmware < 2.30.196
western_digital/my_cloud_mirror_gen_2_firmware < 2.30.196
western_digital/my_cloud_pr2100_firmware < 2.30.196
... and 2 more
Published Sep 18, 2018
Tracked Since Feb 18, 2026