// For flags

CVE-2022-36328

Path Traversal Vulnerability leading to an arbitrary file read in Western Digital devices

Severity Score

4.9
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could allow an attacker to create arbitrary shares on arbitrary directories and exfiltrate sensitive files, passwords, users and device configurations was discovered in Western Digital My Cloud Home, My Cloud Home Duo, SanDisk ibi and Western Digital My Cloud OS 5 devices. This can only be exploited once an attacker gains root privileges on the devices using an authentication bypass issue or another vulnerability.This issue affects My Cloud Home and My Cloud Home Duo: before 9.4.0-191; ibi: before 9.4.0-191; My Cloud OS 5: before 5.26.202.

This vulnerability allows remote attackers to create and read arbitrary files on affected installations of Western Digital MyCloud PR4100 NAS devices. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
The specific flaw exists within the restsdk binary. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root.

*Credits: Claroty Research, Team82 - Vera Mens, Noam Moshe, Uri Katz and Sharon Brizinov working with Trend Micro’s Zero Day Initiative
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-07-20 CVE Reserved
  • 2023-05-18 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-10-28 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud
Search vendor "Westerndigital" for product "My Cloud"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Dl2100
Search vendor "Westerndigital" for product "My Cloud Dl2100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Dl4100
Search vendor "Westerndigital" for product "My Cloud Dl4100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Ex2 Ultra
Search vendor "Westerndigital" for product "My Cloud Ex2 Ultra"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Ex2100
Search vendor "Westerndigital" for product "My Cloud Ex2100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Ex4100
Search vendor "Westerndigital" for product "My Cloud Ex4100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Mirror G2
Search vendor "Westerndigital" for product "My Cloud Mirror G2"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Pr2100
Search vendor "Westerndigital" for product "My Cloud Pr2100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Pr4100
Search vendor "Westerndigital" for product "My Cloud Pr4100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os 5
Search vendor "Westerndigital" for product "My Cloud Os 5"
< 5.26.202
Search vendor "Westerndigital" for product "My Cloud Os 5" and version " < 5.26.202"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
Wd Cloud
Search vendor "Westerndigital" for product "Wd Cloud"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Home Firmware
Search vendor "Westerndigital" for product "My Cloud Home Firmware"
< 9.4.0-191
Search vendor "Westerndigital" for product "My Cloud Home Firmware" and version " < 9.4.0-191"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Home
Search vendor "Westerndigital" for product "My Cloud Home"
--
Safe
Westerndigital
Search vendor "Westerndigital"
Sandisk Ibi Firmware
Search vendor "Westerndigital" for product "Sandisk Ibi Firmware"
< 9.4.0-191
Search vendor "Westerndigital" for product "Sandisk Ibi Firmware" and version " < 9.4.0-191"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
Sandisk Ibi
Search vendor "Westerndigital" for product "Sandisk Ibi"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Home Duo Firmware
Search vendor "Westerndigital" for product "My Cloud Home Duo Firmware"
< 9.4.0-191
Search vendor "Westerndigital" for product "My Cloud Home Duo Firmware" and version " < 9.4.0-191"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Home Duo
Search vendor "Westerndigital" for product "My Cloud Home Duo"
--
Safe