CVE-2019-9949 Path traversal in n/a

High 8.8 Published Updated

Low-privilege users can execute arbitrary code as root on Western Digital My Cloud devices by exploiting symlink handling in file upload commands.

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

What is CVE-2019-9949?

CVE-2019-9949 is a high-severity path traversal vulnerability in n/a, published on 23 May 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Western Digital My Cloud Cloud, Mirror Gen2, EX2 Ultra, EX2100, EX4100, DL2100, DL4100, PR2100 and PR4100 before firmware 2.31.183 are affected by a code execution (as root, starting from a low-privilege user session) vulnerability. The cgi-bin/webfile_mgr.cgi file allows arbitrary file write by abusing symlinks. Specifically, this occurs by uploading a tar archive that contains a symbolic link, then uploading another archive that writes a file to the link using the "cgi_untar" command. Other commands might also be susceptible. Code can be executed because the "name" parameter passed to the cgi_unzip command is not sanitized.

Weakness: CWE-59

Which versions are affected by CVE-2019-9949?

It affects 9 products.

Products include Westerndigital My Cloud Dl2100 Firmware, Westerndigital My Cloud Dl4100 Firmware, Westerndigital My Cloud Ex2100 Firmware, Westerndigital My Cloud Ex2 Ultra Firmware, Westerndigital My Cloud Ex4100 Firmware, Westerndigital My Cloud Firmware and 3 more.

How do I fix CVE-2019-9949?

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

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

Sources

Also known as GHSA-qv94-w6rj-6f5p.

Is CVE-2019-9949 in your software?

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

Check your SBOMs for free