CVE-2018-17153
CRITICAL NUCLEIWestern Digital My Cloud <2.30.196 - Auth Bypass
Title source: llmExploitation 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)
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.
Nuclei Templates (1)
http.favicon.hash:-1074357885
icon_hash=-1074357885
References (4)
Scores
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H