Patchfirst
CVE-2018-17153 Public exploit EPSS 86.6%

It was discovered that the Western Digital My Cloud device before 2.30.196 is affected by an authentication bypass…

Summary

The Western Digital My Cloud device firmware before 2.30.196 contains an authentication bypass in the network_mgr.cgi CGI module, where the "cgi_get_ipv6" command creates an admin session tied to the requester's IP address when the parameter "flag" is set to "1". An unauthenticated attacker who can reach the device over the network can send that request to create the session, then set the username=admin cookie on later requests to invoke admin-only CGI modules and gain full control of the device, with no password or user interaction required.

Official description · CVE.org

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.

Breakdown
28.8 / 100
Exploited
Not confirmed
Reports
1
Tactics
4/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

Public exploit code (Metasploit) was available 21 months before disclosure.

  1. Public exploit codeMetasploit21 mo before
  2. Disclosedday 0

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Valid Accounts T1078 Medium also Persistence, Privilege Escalation, Stealth
AI mapping from the description · primary impact

gains valid admin session without credentials

thereby gaining full control of the device
From the official description (CVE.org) Original (opens in a new tab) ↗
Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

unauthenticated network exploitation of exposed web interface

An unauthenticated attacker can exploit this vulnerability to authenticate as an admin user
From the official description (CVE.org) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 205 general rules for its techniques

Rules for this CVE

0 that reference CVE-2018-17153 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 1 threat report
1 reportanomali.com

Reports are matched by finding the exact id CVE-2018-17153 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close