{"id":"CVE-2019-9949","state":"PUBLISHED","title":"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, starti","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.","publishedAt":"2019-05-23T13:22:27.000Z","updatedAt":"2024-08-04T22:10:08.808Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717","https://bnbdr.github.io/posts/wd/","https://github.com/bnbdr/wd-rce/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:15.253Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/9xxx/CVE-2019-9949.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-9949","state":"PUBLISHED","datePublished":"2019-05-23T13:22:27.000Z","dateUpdated":"2024-08-04T22:10:08.808Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-03-23T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717","tags":["x_refsource_CONFIRM"]},{"url":"https://bnbdr.github.io/posts/wd/","tags":["x_refsource_MISC"]},{"url":"https://github.com/bnbdr/wd-rce/","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-05-28T17:35:59.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2019-05-21T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-9949","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717","refsource":"CONFIRM","url":"https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717"},{"name":"https://bnbdr.github.io/posts/wd/","refsource":"MISC","url":"https://bnbdr.github.io/posts/wd/"},{"name":"https://github.com/bnbdr/wd-rce/","refsource":"MISC","url":"https://github.com/bnbdr/wd-rce/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bnbdr.github.io/posts/wd/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/bnbdr/wd-rce/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T22:10:08.808Z"}}]}}}