National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-9949 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 8.8 HIGH
Vector:  CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://bnbdr.github.io/posts/wd/ Exploit Third Party Advisory
https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717 Vendor Advisory
https://github.com/bnbdr/wd-rce/ Exploit Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-59 Improper Link Resolution Before File Access ('Link Following') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_mirror_gen2_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud_mirror_gen2:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_ex2_ultra_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud_ex2_ultra:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 4 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_ex2100_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud_ex2100:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 5 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_ex4100_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud_ex4100:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 6 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_dl2100_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud_dl2100:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 7 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_dl4100_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud_dl4100:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 8 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_pr2100_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud_pr2100:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 9 ( hide )
 cpe:2.3:o:westerndigital:my_cloud_pr4100_firmware:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.31.183
Running on/with
 cpe:2.3:h:westerndigital:my_cloud_pr4100:-:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-9949
NVD Published Date:
05/23/2019
NVD Last Modified:
05/28/2019