Description
Western Digital My Cloud OS 5 devices before 5.10.122 mishandle Symbolic Link Following on SMB and AFP shares. This can lead to code execution and information disclosure (by reading local files).
Affected Software
Related
{"id": "CVE-2021-3310", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-3310", "description": "Western Digital My Cloud OS 5 devices before 5.10.122 mishandle Symbolic Link Following on SMB and AFP shares. This can lead to code execution and information disclosure (by reading local files).", "published": "2021-03-10T05:15:00", "modified": "2021-03-17T17:42:00", "cvss": {"score": 4.6, "vector": "AV:L/AC:L/Au:N/C:P/I:P/A:P"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:P", "accessVector": "LOCAL", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 4.6}, "severity": "MEDIUM", "exploitabilityScore": 3.9, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3310", "reporter": "cve@mitre.org", "references": ["https://www.westerndigital.com/support/productsecurity/wdc-21002-my-cloud-firmware-version-5-10-122", "https://www.zerodayinitiative.com/advisories/ZDI-21-277/"], "cvelist": ["CVE-2021-3310"], "immutableFields": [], "lastseen": "2022-03-23T18:35:11", "viewCount": 52, "enchantments": {"dependencies": {"references": [{"type": "githubexploit", "idList": ["5A1B409E-FBBD-5EFD-92E8-56234C77B682"]}, {"type": "zdi", "idList": ["ZDI-21-277"]}], "rev": 4}, "score": {"value": 2.6, "vector": "NONE"}, "backreferences": {"references": [{"type": "githubexploit", "idList": ["5A1B409E-FBBD-5EFD-92E8-56234C77B682"]}, {"type": "zdi", "idList": ["ZDI-21-277"]}]}, "exploitation": null, "vulnersScore": 2.6}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": [], "cpe23": [], "cwe": ["CWE-59"], "affectedSoftware": [{"cpeName": "westerndigital:my_cloud_os", "version": "5.10.122", "operator": "lt", "name": "westerndigital my cloud os"}], "affectedConfiguration": [{"name": "westerndigital my cloud dl2100", "cpeName": "westerndigital:my_cloud_dl2100", "version": "-", "operator": "eq"}, {"name": "westerndigital my cloud dl4100", "cpeName": "westerndigital:my_cloud_dl4100", "version": "-", "operator": "eq"}, {"name": "westerndigital my cloud ex2100", "cpeName": "westerndigital:my_cloud_ex2100", "version": "-", "operator": "eq"}, {"name": "westerndigital my cloud ex2 ultra", "cpeName": "westerndigital:my_cloud_ex2_ultra", "version": "-", "operator": "eq"}, {"name": "westerndigital my cloud ex4100", "cpeName": "westerndigital:my_cloud_ex4100", "version": "-", "operator": "eq"}, {"name": "westerndigital my cloud mirror gen 2", "cpeName": "westerndigital:my_cloud_mirror_gen_2", "version": "-", "operator": "eq"}, {"name": "westerndigital my cloud pr2100", "cpeName": "westerndigital:my_cloud_pr2100", "version": "-", "operator": "eq"}, {"name": "westerndigital my cloud pr4100", "cpeName": "westerndigital:my_cloud_pr4100", "version": "-", "operator": "eq"}], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "AND", "children": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:o:westerndigital:my_cloud_os:5.10.122:*:*:*:*:*:*:*", "versionEndExcluding": "5.10.122", "cpe_name": []}]}, {"operator": "OR", "children": [], "cpe_match": [{"vulnerable": false, "cpe23Uri": "cpe:2.3:h:westerndigital:my_cloud_dl2100:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:westerndigital:my_cloud_dl4100:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:westerndigital:my_cloud_ex2100:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:westerndigital:my_cloud_ex2_ultra:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:westerndigital:my_cloud_ex4100:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:westerndigital:my_cloud_mirror_gen_2:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:westerndigital:my_cloud_pr2100:-:*:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": false, "cpe23Uri": "cpe:2.3:h:westerndigital:my_cloud_pr4100:-:*:*:*:*:*:*:*", "cpe_name": []}]}], "cpe_match": []}]}, "extraReferences": [{"url": "https://www.westerndigital.com/support/productsecurity/wdc-21002-my-cloud-firmware-version-5-10-122", "name": "https://www.westerndigital.com/support/productsecurity/wdc-21002-my-cloud-firmware-version-5-10-122", "refsource": "MISC", "tags": ["Vendor Advisory"]}, {"url": "https://www.zerodayinitiative.com/advisories/ZDI-21-277/", "name": "https://www.zerodayinitiative.com/advisories/ZDI-21-277/", "refsource": "MISC", "tags": ["Third Party Advisory"]}]}
{"zdi": [{"lastseen": "2022-01-31T22:27:02", "description": "This vulnerability allows remote attackers to disclose sensitive information on affected installations of Western Digital MyCloud PR4100. Authentication is not required to exploit this vulnerability. The specific flaw exists within the SMB and AFP services. By creating a symbolic link, an attacker can abuse the service to read arbitrary files. An attacker can leverage this vulnerability to disclose information in the context of the service account.", "cvss3": {"exploitabilityScore": 1.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 7.8, "privilegesRequired": "LOW", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 5.9}, "published": "2021-03-11T00:00:00", "type": "zdi", "title": "Western Digital MyCloud PR4100 Link Resolution Information Disclosure Vulnerability", "bulletinFamily": "info", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 3.9, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 4.6, "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-3310"], "modified": "2021-06-29T00:00:00", "id": "ZDI-21-277", "href": "https://www.zerodayinitiative.com/advisories/ZDI-21-277/", "cvss": {"score": 4.6, "vector": "AV:L/AC:L/Au:N/C:P/I:P/A:P"}}], "githubexploit": [{"lastseen": "2021-12-10T15:24:05", "description": "# CVE-2021-3310\nWestern Digital MyClou...", "cvss3": {"exploitabilityScore": 1.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 7.8, "privilegesRequired": "LOW", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 5.9}, "published": "2021-05-24T20:55:33", "type": "githubexploit", "title": "Exploit for Link Following in Westerndigital My Cloud Os", "bulletinFamily": "exploit", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 3.9, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 4.6, "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-3310"], "modified": "2021-06-21T02:06:49", "id": "5A1B409E-FBBD-5EFD-92E8-56234C77B682", "href": "", "cvss": {"score": 4.6, "vector": "AV:L/AC:L/Au:N/C:P/I:P/A:P"}, "privateArea": 1}]}