// For flags

CVE-2022-29844

Western Digital My Cloud OS 5 arbitrary file read and write vulnerability via ftp

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

A vulnerability in the FTP service of Western Digital My Cloud OS 5 devices running firmware versions prior to 5.26.119 allows an attacker to read and write arbitrary files. This could lead to a full NAS compromise and would give remote execution capabilities to the attacker.

Una vulnerabilidad en el servicio FTP de los dispositivos Western Digital My Cloud OS 5 que ejecutan versiones de firmware anteriores a la 5.26.119 permite a un atacante leer y escribir archivos arbitrarios. Esto podría provocar un compromiso total del NAS y proporcionaría capacidades de ejecución remota al atacante.

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Western Digital MyCloud PR4100 NAS devices. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the FTP server. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length buffer. An attacker can leverage this vulnerability to execute code in the context of root.

*Credits: Luca MORO (@johncool__) - moro.luca@gmail.comworking with Trend Micro Zero Day Initiative
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
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-04-27 CVE Reserved
  • 2023-01-25 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-09-01 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23: Relative 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 Pr2100 Firmware
Search vendor "Westerndigital" for product "My Cloud Pr2100 Firmware"
< 5.26.119
Search vendor "Westerndigital" for product "My Cloud Pr2100 Firmware" and version " < 5.26.119"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Pr2100
Search vendor "Westerndigital" for product "My Cloud Pr2100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Pr4100 Firmware
Search vendor "Westerndigital" for product "My Cloud Pr4100 Firmware"
< 5.26.119
Search vendor "Westerndigital" for product "My Cloud Pr4100 Firmware" and version " < 5.26.119"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Pr4100
Search vendor "Westerndigital" for product "My Cloud Pr4100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Ex4100 Firmware
Search vendor "Westerndigital" for product "My Cloud Ex4100 Firmware"
< 5.26.119
Search vendor "Westerndigital" for product "My Cloud Ex4100 Firmware" and version " < 5.26.119"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Ex4100
Search vendor "Westerndigital" for product "My Cloud Ex4100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Ex2 Ultra Firmware
Search vendor "Westerndigital" for product "My Cloud Ex2 Ultra Firmware"
< 5.26.119
Search vendor "Westerndigital" for product "My Cloud Ex2 Ultra Firmware" and version " < 5.26.119"
-
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 Mirror G2 Firmware
Search vendor "Westerndigital" for product "My Cloud Mirror G2 Firmware"
< 5.26.119
Search vendor "Westerndigital" for product "My Cloud Mirror G2 Firmware" and version " < 5.26.119"
-
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 Dl2100 Firmware
Search vendor "Westerndigital" for product "My Cloud Dl2100 Firmware"
< 5.26.119
Search vendor "Westerndigital" for product "My Cloud Dl2100 Firmware" and version " < 5.26.119"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Dl2100
Search vendor "Westerndigital" for product "My Cloud Dl2100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Dl4100 Firmware
Search vendor "Westerndigital" for product "My Cloud Dl4100 Firmware"
< 5.26.119
Search vendor "Westerndigital" for product "My Cloud Dl4100 Firmware" and version " < 5.26.119"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Dl4100
Search vendor "Westerndigital" for product "My Cloud Dl4100"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Ex2100 Firmware
Search vendor "Westerndigital" for product "My Cloud Ex2100 Firmware"
< 5.26.119
Search vendor "Westerndigital" for product "My Cloud Ex2100 Firmware" and version " < 5.26.119"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Ex2100
Search vendor "Westerndigital" for product "My Cloud Ex2100"
--
Safe