CVE-2018-17153 Auth bypass in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can bypass authentication to gain admin privileges and full control of Western Digital My Cloud devices.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-17153?

CVE-2018-17153 is a critical authentication bypass vulnerability in n/a, published on 18 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-287

Which versions are affected by CVE-2018-17153?

It affects 12 products.

Products include Western Digital My Cloud Dl2100, Western Digital My Cloud Dl4100 Firmware, Western Digital My Cloud Ex2100 Firmware, Western Digital My Cloud Ex2 Firmware, Western Digital My Cloud Ex2 Ultra Firmware, Western Digital My Cloud Ex4100 and 6 more.

How do I fix CVE-2018-17153?

No fix has been published for CVE-2018-17153 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2018-17153 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-17153 exists.

Public exploit code: 1 Metasploit module and 1 Nuclei template.

Sources

Also known as GHSA-22xm-47fv-r79q.

Is CVE-2018-17153 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free