Vulnerability record · CVE-2018-17153 · published 18 September 2018
CVE-2018-17153: Western Digital My Cloud authentication bypass via cgi_get_ipv6 admin session creation
Western Digital · My Cloud Wdbctl0020hwt Firmware
Western Digital My Cloud devices before firmware 2.30.196 contain an authentication bypass in the network_mgr.cgi module. Calling the cgi_get_ipv6 command with the parameter flag=1 creates a server-side admin session bound to the requester's IP address without any login, and setting the username=admin cookie then allows authenticated CGI commands to succeed. This gives an unauthenticated network attacker full administrative control of the device.
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8 with no authentication or user interaction required, full device compromise, and very high EPSS probability make this an urgent patching priority.
What it is
Western Digital My Cloud devices before firmware 2.30.196 contain an authentication bypass in the network_mgr.cgi module. Calling the cgi_get_ipv6 command with the parameter flag=1 creates a server-side admin session bound to the requester's IP address without any login, and setting the username=admin cookie then allows authenticated CGI commands to succeed. This gives an unauthenticated network attacker full administrative control of the device.
Impact
An attacker gains full admin control of the My Cloud device, including access to stored data and administrative functions. Because the session is bound to the attacker's IP, the bypass is directly usable from the network without credentials.
Attack surface
Reachable over the network via HTTP requests to the device's CGI interface, specifically network_mgr.cgi with the cgi_get_ipv6 command and flag=1. No authentication or user interaction is required per the CVSS vector AV:N/AC:L/PR:N/UI:N.
Exploitation
Not listed in CISA KEV, but EPSS is very high (0.866, 99.7th percentile) and a public advisory is tagged Exploit, indicating known public exploitation techniques.
What to do
- Update My Cloud firmware to 2.30.196 or later as directed by Western Digital advisory 25952.
- If patching is not immediately possible, restrict network access to the device's web/CGI interface to trusted management networks only.
- Disable or block remote access features and UPnP port forwarding that expose the device's admin interface to untrusted networks.
- Monitor Western Digital support advisories for further firmware updates covering the listed My Cloud models.
Detection
- Search HTTP access logs for requests to network_mgr.cgi with cgi_get_ipv6 and flag=1 parameters.
- Alert on requests containing a username=admin cookie from source IPs that have not performed a legitimate login.
- Correlate admin session creation events with the absence of preceding authentication requests from the same source IP.
- Monitor for unusual administrative CGI command sequences originating from a single external IP shortly after a cgi_get_ipv6 call.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
12 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/173802/Western-Digital-MyCloud-Unauthenticated-Command-Injection.html | |
| http://www.securityfocus.com/bid/105359 | Third Party AdvisoryVDB Entry |
| https://securify.nl/nl/advisory/SFY20180102/authentication-bypass-vulnerability-in-western-digital-my-cloud-allows-escal | ExploitThird Party Advisory |
| https://support.wdc.com/knowledgebase/answer.aspx?ID=25952 | Third Party Advisory |
| http://packetstormsecurity.com/files/173802/Western-Digital-MyCloud-Unauthenticated-Command-Injection.html | |
| http://www.securityfocus.com/bid/105359 | Third Party AdvisoryVDB Entry |
| https://securify.nl/nl/advisory/SFY20180102/authentication-bypass-vulnerability-in-western-digital-my-cloud-allows-escal | ExploitThird Party Advisory |
| https://support.wdc.com/knowledgebase/answer.aspx?ID=25952 | Third Party Advisory |
Track CVE-2018-17153 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-17153), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.