{"id":"CVE-2019-9949","sourceIdentifier":"cve@mitre.org","published":"2019-05-23T14:29:08.000","lastModified":"2026-06-17T02:44:55.013","vulnStatus":"Modified","cveTags":[],"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."},{"lang":"es","value":"Western Digital My Cloud Cloud, Mirror Gen2, EX2 Ultra, EX2100, EX4100, DL2100, DL4100, PR2100 y PR4100 antes del firmware versión 2.31.183 se ven afectados por una ejecución de código (as root, starting from a low-privilege user session). El archivo cgi-bin/webfile_mgr.cgi permite la escritura arbitraria de archivos al abusar de los symlinks. Específicamente, esto ocurre al cargar un archivo \"tar\" que contiene un enlace simbólico, y después cargar otro archivo que escribe un archivo en el enlace usando el comando \"cgi_untar\". Otros comandos también pueden ser susceptibles. El código puede ser ejecutado porque el parámetro \"nombre\" pasó hacia el comando cgi_unzip sin estar saneado."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:C/I:C/A:C","baseScore":9.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":8.0,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-59"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"714E5757-A95F-4DDA-AC1A-DCF1B20768FF"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud:-:*:*:*:*:*:*:*","matchCriteriaId":"3A9EE86B-05EE-4F2E-A912-624DDCF9C41B"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_mirror_gen2_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"DFDE3883-5632-402E-B947-9BD0B7A67BDC"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud_mirror_gen2:-:*:*:*:*:*:*:*","matchCriteriaId":"DC3A412B-F905-4FBC-8536-820AF5162A08"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_ex2_ultra_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"A9EAF1C1-12EC-4371-95C7-E47198CD03B9"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud_ex2_ultra:-:*:*:*:*:*:*:*","matchCriteriaId":"5A581EBA-A1F2-4ABC-8183-29973A46FA43"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_ex2100_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"54F52366-4371-430C-BC7A-D471457F7A08"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud_ex2100:-:*:*:*:*:*:*:*","matchCriteriaId":"ABBBDC1E-2320-4767-B669-1BB2FFB1E1C4"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_ex4100_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"BD78AD7F-716A-4E59-A6F0-715D10D56131"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud_ex4100:-:*:*:*:*:*:*:*","matchCriteriaId":"B78030F0-6655-4604-9D16-2FA1F3FD52FF"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_dl2100_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"1FEBF873-C17B-492B-881F-A06B98232F28"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud_dl2100:-:*:*:*:*:*:*:*","matchCriteriaId":"9E783EBC-7608-4527-B1AD-9B4E7A7A108C"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_dl4100_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"E842104F-6A82-4CD9-A28D-9AC99CCC19E2"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud_dl4100:-:*:*:*:*:*:*:*","matchCriteriaId":"F3034F4A-239C-4E38-9BD6-217361A7C519"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_pr2100_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"CCA43057-A100-4E60-8F77-50ADD6673A97"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud_pr2100:-:*:*:*:*:*:*:*","matchCriteriaId":"BF58260B-2131-402C-A9DA-67B188136DE1"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:westerndigital:my_cloud_pr4100_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2.31.183","matchCriteriaId":"9771E7E5-7F75-4CBB-A100-7178A786A365"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:westerndigital:my_cloud_pr4100:-:*:*:*:*:*:*:*","matchCriteriaId":"CB0C2FD9-4792-4DA2-9698-E53109A499EC"}]}]}],"references":[{"url":"https://bnbdr.github.io/posts/wd/","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://github.com/bnbdr/wd-rce/","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://bnbdr.github.io/posts/wd/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://community.wd.com/t/new-release-my-cloud-firmware-versions-2-31-183-05-20-2019/237717","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"https://github.com/bnbdr/wd-rce/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}