RULE(RULE ID:324200)

Rule General Information
Release Date: 2020-01-20
Rule Name: WD MyCloud Products Authentication Bypass and Remote Command Injection Vulnerability (CVE-2018-17153)
Severity:
CVE ID:
Rule Protection Details
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.
Impact: An attacker can execute arbitrary command via a successful exploit in the context of the vulnerable software.
Affected OS: Windows, Network Device, Others
Reference: SecurityFocusBID:105359
https://securify.nl/nl/advisory/SFY20180102/authentication-bypass-vulnerability-in-western-digital-my-cloud-allows-escalation-to-admin-privileges.html
https://support.wdc.com/knowledgebase/answer.aspx?ID=25952
Solutions
The vendors have released upgrade patches to fix vulnerabilities, please visit:
https://www.wdc.com/zh-cn/