CVE-2022-29842 Command Injection Vulnerability in Western Digital My Cloud devices

Critical 9.8 Published Updated

Attackers can execute arbitrary code with root privileges on Western Digital My Cloud OS 5 devices via a command injection vulnerability in a CGI file.

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

What is CVE-2022-29842?

CVE-2022-29842 is a critical command injection vulnerability in Western Digital My Cloud OS 5, published on 10 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability that could allow an attacker to execute code in the context of the root user on a vulnerable CGI file was discovered in Western Digital My Cloud OS 5 devicesThis issue affects My Cloud OS 5: before 5.26.119.

Weakness: CWE-77

Which versions are affected by CVE-2022-29842?

It affects 1 product.

Products include Westerndigital My Cloud Os.

How do I fix CVE-2022-29842?

No fix has been published for CVE-2022-29842 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-29842 being exploited?

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

Sources

Also known as GHSA-jgf2-qhgr-gp37.

Is CVE-2022-29842 in your software?

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

Check your SBOMs for free