CVE-2022-29836 Post-Auth Path Traversal Vulnerability Allows to Custom Package Installation via HTTP API

Low 1.9 Published Updated

Authenticated attackers can exploit path traversal in the HTTP API to install custom packages, potentially leading to code execution on Western Digital and SanDisk NAS devices.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-29836?

CVE-2022-29836 is a low-severity path traversal vulnerability in SanDisk My Cloud Home, published on 9 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability was discovered via an HTTP API on Western Digital My Cloud Home; My Cloud Home Duo; and SanDisk ibi devices that could allow an attacker to abuse certain parameters to point to random locations on the file system. This could also allow the attacker to initiate the installation of custom packages at these locations. This can only be exploited once the attacker has been authenticated to the device. This issue affects: Western Digital My Cloud Home and My Cloud Home Duo versions prior to 8.11.0-113 on Linux; SanDisk ibi versions prior to 8.11.0-113 on Linux.

Weakness: CWE-22

Which versions are affected by CVE-2022-29836?

It affects 3 products.

Products include Westerndigital My Cloud Home Duo Firmware, Westerndigital My Cloud Home Firmware, Westerndigital Sandisk Ibi Firmware.

How do I fix CVE-2022-29836?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-29836 being exploited?

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

Sources

Also known as GHSA-7c3q-7247-h3cx.

Is CVE-2022-29836 in your software?

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

Check your SBOMs for free