CVE-2019-9949 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-privil...
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
9 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| westerndigital my cloud dl2100 firmware | < 2.31.183 | 2.31.183 | Fixed |
| westerndigital my cloud dl4100 firmware | < 2.31.183 | 2.31.183 | Fixed |
| westerndigital my cloud ex2 ultra firmware | < 2.31.183 | 2.31.183 | Fixed |
| westerndigital my cloud ex2100 firmware | < 2.31.183 | 2.31.183 | Fixed |
| westerndigital my cloud ex4100 firmware | < 2.31.183 | 2.31.183 | Fixed |
| westerndigital my cloud firmware | < 2.31.183 | 2.31.183 | Fixed |
| westerndigital my cloud mirror gen2 firmware | < 2.31.183 | 2.31.183 | Fixed |
| westerndigital my cloud pr2100 firmware | < 2.31.183 | 2.31.183 | Fixed |
| westerndigital my cloud pr4100 firmware | < 2.31.183 | 2.31.183 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| westerndigital my cloud firmware | < 2.31.183 | 2.31.183 |
| westerndigital my cloud mirror gen2 firmware | < 2.31.183 | 2.31.183 |
| westerndigital my cloud ex2 ultra firmware | < 2.31.183 | 2.31.183 |
| westerndigital my cloud ex2100 firmware | < 2.31.183 | 2.31.183 |
| westerndigital my cloud ex4100 firmware | < 2.31.183 | 2.31.183 |
| westerndigital my cloud dl2100 firmware | < 2.31.183 | 2.31.183 |
| westerndigital my cloud dl4100 firmware | < 2.31.183 | 2.31.183 |
| westerndigital my cloud pr2100 firmware | < 2.31.183 | 2.31.183 |
| westerndigital my cloud pr4100 firmware | < 2.31.183 | 2.31.183 |
References
- bnbdr.github.io exploit third-party-advisory
- community.wd.com vendor-advisory
- github.com exploit third-party-advisory