CVE-2022-29841 OS Command Injection vulnerability in Western Digital My Cloud devices

High 8.0 Published Updated

Remote attackers can execute arbitrary OS commands and gain a reverse shell on Western Digital My Cloud devices due to unsanitized input in privileged file operations.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-29841?

CVE-2022-29841 is a high-severity command injection vulnerability in Western Digital My Cloud OS 5, published on 10 May 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2022-29841?

It affects 1 product.

Products include Westerndigital My Cloud Os.

How do I fix CVE-2022-29841?

No fix has been published for CVE-2022-29841 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-29841 being exploited?

There is no known exploitation of CVE-2022-29841 in the wild and no public exploit code.

Sources

Also known as GHSA-39gv-q5r7-jg94.

Is CVE-2022-29841 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free