CVE-2023-22815 Post-authentication remote command injection vulnerability on Western Digital My Cloud OS 5 devices

Medium 6.2 Published Updated

Authenticated attackers can execute arbitrary commands as root on Western Digital My Cloud OS 5 devices via vulnerable CGI files.

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-2023-22815?

CVE-2023-22815 is a medium-severity command injection vulnerability in Western Digital My Cloud OS 5, published on 30 Jun 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Post-authentication remote command injection vulnerability in Western Digital My Cloud OS 5 devices that could allow an attacker to execute code in the context of the root user on vulnerable CGI files. This vulnerability can only be exploited over the network and the attacker must already have admin/root privileges to carry out the exploit. An authentication bypass is required for this exploit, thereby making it more complex. The attack may not require user interaction. Since an attacker must already be authenticated, the confidentiality impact is low while the integrity and availability impact is high. 

This issue affects My Cloud OS 5 devices: before 5.26.300.

Weakness: CWE-77, CWE-78

Which versions are affected by CVE-2023-22815?

It affects 1 product.

Products include Westerndigital My Cloud Os.

How do I fix CVE-2023-22815?

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

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

Sources

Also known as GHSA-j2rf-gr77-35c7.

Is CVE-2023-22815 in your software?

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

Check your SBOMs for free