CVE-2019-9949
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.0% in the next 30 days (EPSS).
- Severity: 8.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.0% · EPSS, next 30 days
- Weakness
- CWE-59
- Record status
- Modified
Affected
- Westerndigital My Cloud Firmware < 2.31.183
- Westerndigital My Cloud Mirror gen2 Firmware < 2.31.183
- Westerndigital My Cloud ex2 Ultra Firmware < 2.31.183
- Westerndigital My Cloud ex2100 Firmware < 2.31.183
- Westerndigital My Cloud ex4100 Firmware < 2.31.183
- Westerndigital My Cloud dl2100 Firmware < 2.31.183
- Westerndigital My Cloud dl4100 Firmware < 2.31.183
- Westerndigital My Cloud pr2100 Firmware < 2.31.183
Attack profile CVSS 3.0 · 8.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2019-9949.md and follow it. Check whether this project is affected by CVE-2019-9949. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717
- https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717
References
- https://bnbdr.github.io/posts/wd/
- https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717
- https://github.com/bnbdr/wd-rce/
- https://bnbdr.github.io/posts/wd/
- https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717
- https://github.com/bnbdr/wd-rce/