8.8
HIGH
CVE-2019-9949
Western Digital My Cloud CGI-File Write and Code Execution Vulnerability
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.

INFO

Published Date :

May 23, 2019, 2:29 p.m.

Last Modified :

May 29, 2019, 1:08 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2019-9949 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2019-9949 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Westerndigital my_cloud_pr2100_firmware
2 Westerndigital my_cloud_pr4100_firmware
3 Westerndigital my_cloud_ex4100_firmware
4 Westerndigital my_cloud_ex2_ultra_firmware
5 Westerndigital my_cloud_dl2100_firmware
6 Westerndigital my_cloud_dl4100_firmware
7 Westerndigital my_cloud_ex2100_firmware
8 Westerndigital my_cloud_firmware
9 Westerndigital my_cloud_mirror_gen2_firmware
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-9949.

URL 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

WD My Cloud PoC exploit

rce exploit nas wd western-digital vulnerability

Python Shell

Updated: 7 months, 2 weeks ago
42 stars 12 fork 12 watcher
Born at : May 22, 2019, 7:09 p.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-9949 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-9949 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 29, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:S/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bnbdr.github.io/posts/wd/ No Types Assigned https://bnbdr.github.io/posts/wd/ Exploit, Third Party Advisory
    Changed Reference Type https://github.com/bnbdr/wd-rce/ No Types Assigned https://github.com/bnbdr/wd-rce/ Exploit, Third Party Advisory
    Changed Reference Type https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717 No Types Assigned https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717 Vendor Advisory
    Added CWE CWE-59
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_mirror_gen2_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud_mirror_gen2:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_ex2_ultra_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud_ex2_ultra:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_ex2100_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud_ex2100:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_ex4100_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud_ex4100:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_dl2100_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud_dl2100:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_dl4100_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud_dl4100:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_pr2100_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud_pr2100:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:westerndigital:my_cloud_pr4100_firmware:*:*:*:*:*:*:*:* versions up to (excluding) 2.31.183 OR cpe:2.3:h:westerndigital:my_cloud_pr4100:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 28, 2019

    Action Type Old Value New Value
    Added Reference https://github.com/bnbdr/wd-rce/ [No Types Assigned]
    Added Reference https://bnbdr.github.io/posts/wd/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-9949 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-9949 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.80 }} -0.24%

score

0.88427

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability