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.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717
Exploit, Third Party Advisory x_refsource_misc
https://bnbdr.github.io/posts/wd/
Exploit, Third Party Advisory x_refsource_misc
https://github.com/bnbdr/wd-rce/
Scores
CVSS v3
8.8
EPSS
0.0237
EPSS Percentile
85.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-59
Status
published
Products (9)
westerndigital/my_cloud_dl2100_firmware
< 2.31.183
westerndigital/my_cloud_dl4100_firmware
< 2.31.183
westerndigital/my_cloud_ex2100_firmware
< 2.31.183
westerndigital/my_cloud_ex2_ultra_firmware
< 2.31.183
westerndigital/my_cloud_ex4100_firmware
< 2.31.183
westerndigital/my_cloud_firmware
< 2.31.183
westerndigital/my_cloud_mirror_gen2_firmware
< 2.31.183
westerndigital/my_cloud_pr2100_firmware
< 2.31.183
westerndigital/my_cloud_pr4100_firmware
< 2.31.183
Published
May 23, 2019
Tracked Since
Feb 18, 2026