CVE-2022-29841

OS Command Injection vulnerability in Western Digital My Cloud devices

8.0 high EPSS 1.43%

Published 10 May 2023 Updated 24 Jan 2025 CNA: WDC PSIRT

Description

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability that was caused by a command that read files from a privileged location and created a system command without sanitizing the read data. This command could be triggered by an attacker remotely to cause code execution and gain a reverse shell in Western Digital My Cloud OS 5 devices.This issue affects My Cloud OS 5: before 5.26.119.

Severity (CVSS)

8.0 high CVSS 3.1 from WDC PSIRT (CNA)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.43%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 73.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 24 Jan 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

Affected products

As the CNA lists them.

ProductVersions
My Cloud OS 5
affected before 5.26.119
Other versions: unaffected

Is my server affected?

This CVE is in My Cloud OS 5 of Western Digital, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2022-29841 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.