// For flags

CVE-2022-22991

Command injection through unsecured HTTP calls on Western Digital My Cloud devices

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

A malicious user on the same LAN could use DNS spoofing followed by a command injection attack to trick a NAS device into loading through an unsecured HTTP call. Addressed this vulnerability by disabling checks for internet connectivity using HTTP.

Un usuario malicioso en la misma LAN podría usar una suplantación de DNS seguida de un ataque de inyección de comandos para engañar a un dispositivo NAS para que sea cargado mediante una llamada HTTP no segura. Se ha abordado esta vulnerabilidad al deshabilitar las comprobaciones de conectividad a Internet mediante HTTP

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 ConnectivityService service. 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: Reported By: Martin Rakhmanov (@mrakhmanov) working with Trend Micro’s Zero Day Initiative
CVSS Scores
Attack Vector
Adjacent
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
Changed
Confidentiality
High
Integrity
High
Availability
None
Attack Vector
Adjacent
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-01-10 CVE Reserved
  • 2022-01-13 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-08-19 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • 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 Os
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud
Search vendor "Westerndigital" for product "My Cloud"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
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
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
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
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
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
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
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
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
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
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
My Cloud Mirror Gen 2
Search vendor "Westerndigital" for product "My Cloud Mirror Gen 2"
--
Safe
Westerndigital
Search vendor "Westerndigital"
My Cloud Os
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
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
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
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
Search vendor "Westerndigital" for product "My Cloud Os"
< 5.19.117
Search vendor "Westerndigital" for product "My Cloud Os" and version " < 5.19.117"
-
Affected
in Westerndigital
Search vendor "Westerndigital"
Wd Cloud
Search vendor "Westerndigital" for product "Wd Cloud"
--
Safe