// For flags

CVE-2022-29843

Western Digital My Cloud OS 5 devices Command Injection Vulnerability

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 command injection vulnerability in the DDNS service configuration of Western Digital My Cloud OS 5 devices running firmware versions prior to 5.26.119 allows an attacker to execute code in the context of the root user.

Una vulnerabilidad de inyección de comandos en la configuración del servicio DDNS de dispositivos Western Digital My Cloud OS 5 que ejecutan versiones de firmware anteriores a la 5.26.119 permite a un atacante ejecutar código en el contexto del usuario root.

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Western Digital MyCloud PR4100. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the handling of DDNS responses. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.

*Credits: rskvp93 and biennd4 (from VcsLab of Viettel Cyber Security) working 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
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Adjacent
Attack Complexity
High
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-08-17 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
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