SecurityContext

CVE-2018-17153: Western Digital My Cloud - Authentication Bypass

  • Cve: CVE-2018-17153
  • Name: Western Digital My Cloud - Authentication Bypass
  • 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: Unauthenticated attackers can gain full control of the device, potentially leading to data theft, device manipulation, or complete compromise.
  • Remediation: Update to version 2.30.196 or later to fix the vulnerability.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: privilege_escalation, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.86049
  • Epss percentile: 0.99735
  • Assignee: [email protected]
  • Published at: 2018-09-18T15:29:00Z
  • Age in days: 2988
  • Modified at: 2026-06-17T01:45:26Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 5
  • Products total: 12
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-17153
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-287Improper Authentication

Nuclei templates

IdUrl
CVE-2018-17153https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-17153.yaml

Public exploits

UrlSourceAdded date
https://securify.nl/nl/advisory/SFY20180102/authentication-bypass-vulnerability-in-western-digital-my-cloud-allows-escalation-to-admin-privileges.htmlnvd2018-09-18
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/wd_mycloud_unauthenticated_cmd_injection.rbmetasploit2016-12-14

References

UrlSourceTags
https://securify.nl/nl/advisory/SFY20180102/authentication-bypass-vulnerability-in-western-digital-my-cloud-allows-escalation-to-admin-privileges.htmlnvdExploit, Third Party Advisory
http://www.securityfocus.com/bid/105359nvdThird Party Advisory, VDB Entry
https://support.wdc.com/knowledgebase/answer.aspx?ID=25952nvdThird Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-17153.yamlnuclei_templateNuclei Template
http://packetstormsecurity.com/files/173802/Western-Digital-MyCloud-Unauthenticated-Command-Injection.htmlnvd

Products

Same in every row:

  • Affected: < 2.30.196
  • Platform bound: yes
  • Sources: nvd
ProductUrl
western_digital:my_cloud_ex2_ultra_firmware/v1/products/western_digital/my_cloud_ex2_ultra_firmware
western_digital:my_cloud_dl2100/v1/products/western_digital/my_cloud_dl2100
western_digital:my_cloud_dl4100_firmware/v1/products/western_digital/my_cloud_dl4100_firmware
western_digital:my_cloud_ex2100_firmware/v1/products/western_digital/my_cloud_ex2100_firmware
western_digital:my_cloud_ex4100/v1/products/western_digital/my_cloud_ex4100
western_digital:my_cloud_mirror_gen_2_firmware/v1/products/western_digital/my_cloud_mirror_gen_2_firmware
western_digital:my_cloud_pr2100_firmware/v1/products/western_digital/my_cloud_pr2100_firmware
western_digital:my_cloud_pr4100/v1/products/western_digital/my_cloud_pr4100
western_digital:my_cloud_ex2_firmware/v1/products/western_digital/my_cloud_ex2_firmware
western_digital:my_cloud_ex4_firmware/v1/products/western_digital/my_cloud_ex4_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2016-12-14
  • Remote: yes
  • Exposed hosts: 2270
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports

Nuclei template